Is it possible to put a form element (say Input) inside ArcherElement?
See original GitHub issueFirstly, thanks a lot for such a useful library! This is of really great help 😃
Coming to my requirement, I was building a flowchart/concept-map kind of thing and need some of the nodes to be editable. I tried to put <input>
inside <ArcherElement>
, but it didn’t work because of the SVG overlay. I tried putting <input>
inside <foreignObject>
, but it didn’t help either.
Is there any way to put form elements/content editable DIVs inside ArcherElements?
Issue Analytics
- State:
- Created 3 years ago
- Comments:5 (4 by maintainers)
Top Results From Across the Web
<input>: The Input (Form Input) element - HTML
The <input> HTML element is used to create interactive controls for web-based forms in order to accept data from the user; a wide...
Read more >Is it good practice to use the form attribute and put input ...
It is not common practice. In most cases, it offers no benefits but has a drawback: some old browsers do not support the...
Read more >The form element in depth - web.dev
First, add an <input> element with type="file" to your form. Add the multiple attribute if users should be able to upload multiple files....
Read more >HTML Form - Input element basics - YouTube
In this video tutorial, you will learn about input form element. The video covers the basics of the input element.
Read more >Full React Tutorial #27 - Controlled Inputs (forms) - YouTube
Hey gang, in this React tutorial we'll see how to use input fields & track what a user types into them, using controlled...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Cool, glad to hear it 😊 The PR https://github.com/pierpo/react-archer/pull/85 should help in making this clearer (needs some rework to not change the defaults though).
Hey, thanks a lot man! This solution worked perfectly for my use case! 😊