(event: React.ChangeEvent<HTMLInputElement>)
| 612 | }; |
| 613 | |
| 614 | const handleOnlyForMultipleChange = (event: React.ChangeEvent<HTMLInputElement>) => { |
| 615 | const newValue = event.target.checked; |
| 616 | setOnlyForMultiple(newValue); |
| 617 | |
| 618 | // Update the node data through the editor action bridge |
| 619 | const updateEvent = { |
| 620 | detail: { nodeId: id, onlyForMultiple: newValue }, |
| 621 | }; |
| 622 | dispatchNodeDataUpdate(data, updateEvent.detail); |
| 623 | }; |
| 624 | |
| 625 | return ( |
| 626 | <div className="bg-gray-700 border-2 border-fuchsia-500 rounded-lg p-4 min-w-[200px]"> |
nothing calls this directly
no test coverage detected