#forms #dioxus #ui #input #gui

dioxus-form

Automatic form-serializer for dioxus

3 releases

0.1.2 Aug 25, 2024
0.1.1 Aug 11, 2024
0.1.0 Jul 11, 2024

#740 in Encoding

46 downloads per month

MIT/Apache

26KB
492 lines

Dioxus Form

This crate is a serializer of sorts, and using serde it can serialize a given struct (primitives, vecs, etc are currently a bit broken when deserializing) into an HTML form. Currently it's made specifically for dioxus, so it requires a Signal to work. Image of HTML Form, and rust struct below

To Do/Issues

  • Better vec functionality, currently vecs are not expandable and do not have removable elements
  • A better way of changing values - currently a change redoes all of the HTML - so either a second deserializer that creates JS to change the values, or only change them on outside changes

Dependencies

~3.5–9.5MB
~94K SLoC