#forms #dioxus #ui #input #gui

dioxus-form

Automatic form-serializer for dioxus

4 releases

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

#693 in Encoding

Download history 4/week @ 2024-10-02 2/week @ 2024-10-09 7/week @ 2024-10-30 7/week @ 2024-11-06 1/week @ 2024-12-04 1/week @ 2024-12-11 4/week @ 2024-12-25 164/week @ 2025-01-01 9/week @ 2025-01-08

177 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–9.5MB
~87K SLoC