#forms #dioxus #ui #input #gui

dioxus-form

Automatic form-serializer for dioxus

4 releases

new 0.1.3 Jan 2, 2025
0.1.2 Aug 25, 2024
0.1.1 Aug 11, 2024
0.1.0 Jul 11, 2024

#710 in Encoding

Download history 30/week @ 2024-09-16 7/week @ 2024-09-23 7/week @ 2024-09-30 2/week @ 2024-10-07 14/week @ 2024-11-04 2/week @ 2024-12-09 4/week @ 2024-12-23 152/week @ 2024-12-30

158 downloads per month

MIT/Apache

30KB
491 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–9MB
~87K SLoC