jerosoler / Drawflow

Simple flow library 🖥️🖱️
https://jerosoler.github.io/Drawflow/
MIT License
4.42k stars 714 forks source link

Input type checkbox #768

Open dotcommmm opened 9 months ago

dotcommmm commented 9 months ago

Hello,

Is there any way we can use an input type "checkbox" in the html? We are unable to fetch the value of the checkbox in the data section currently.

Same question goes for radio buttons etc... :)

Thanks for your help!

jerosoler commented 9 months ago

Hi! @dotcommmm

The df-attributes only work with: You can use the attribute df-* in inputs, textarea or select to synchronize with the node data and contenteditable.

Check box or radio buttons use this method:

dotcommmm commented 9 months ago

Thanks for your quick reply @jerosoler ! Will check it out :)

PS: Great work on creating this project