Crate nova_forms

Source

Macros§

Structs§

Enums§

Traits§

  • A trait for defining custom datatypes. Implemented on all types that can be used as a form input.

Functions§

  • A button that only contains an icon.
  • A button that only contains an icon.
  • A component that renders a checkbox.
  • A component renders multiple columns.
  • A component creates a colspan over multiple columns.
  • A dialog component.
  • A component that allows users to upload files. The files are automatically uploaded to the server and stored in the FileStore.
  • A component that binds all of its contents to a part of the form data.
  • Required Props
  • A component that renders an input field. It takes a datatype as a type parameter and automatically handles parsing and validation.
  • A modal dialog.
  • Creates a new nova form. The form will automatically handle validation, serialization, and submission. This implicitly creates a HTML form tag that contains your entire form. It also provides a toolbar with a page select, locale select, preview button, and submit button.
  • A container for a form. Adds a header with a logo, title, and subtitle, as well as a footer with the title.
  • Creates a new page in the form.
  • Creates a new page in the form.
  • Required Props
  • Only renders the children when printing to PDF.
  • A component that renders radio buttons from an enum.
  • Creates a repeatable group of items.
  • Only renders the children when printing to PDF.
  • A component that renders a select field from an enum.
  • Required Props
  • Adds custom translations to a type T. This is useful for adding custom error messages to error enums or other elements.