prevwong / craft.js

🚀 A React Framework for building extensible drag and drop page editors
https://craft.js.org
MIT License
7.32k stars 705 forks source link

Form Input Fields for End users #662

Open brokoli777 opened 1 week ago

brokoli777 commented 1 week ago

I just wanted to start off by saying that this project looks incredible! I noticed that Reka.js is currently in development, which will add state management to craft.js.

In the meantime, are there any workarounds for adding working form elements like text fields and radio buttons? Specifically, I'm looking to allow end users to enter information on the published website and, upon clicking a publish button, have all form data sent as an API request.

prevwong commented 1 week ago

Should be possible. You could create a Form User component which handles the submit callback, no?