Macros§
Structs§
- A datatype for checkboxes that require them to be true. This is useful for a checkbox that needs to be checked before submitting a form, for example a terms and conditions checkbox.
- Props for the
ButtonGroupcomponent. - Props for the
Buttoncomponent. - Props for the
Checkboxcomponent. - Props for the
Colscomponent. - Props for the
Colspancomponent. - A date without a time.
- A date and time. Important note: This type does not support time zones. To ensure that you are working with the clients timezone, you can use the
local_utc_offsetfield in theMetaDatato translate thisPrimitiveDateTimeto anOffsetDateTimewith the correct offset. - Props for the
Dialogcomponent. - A datatype representing an email address.
- Props for the
FileUploadcomponent. - Props for the
Groupcomponent. - Props for the
Iconcomponent. - Props for the
Inputcomponent. - Props for the
Modalcomponent. - A datatype representing a non-empty string.
- Props for the
NovaFormcomponent. - Props for the
NovaFormWrappercomponent. - Props for the
PagePrevNextButtonscomponent. - Props for the
Pagecomponent. - Props for the
PageSteppercomponent. - Props for the
Pagescomponent. - Props for the
PrintOnlycomponent. - Used to bind a form input element to a form data element.
- Props for the
Radiocomponent. - Props for the
Repeatablecomponent. - Props for the
ScreenOnlycomponent. - Props for the
SelectButtoncomponent. - Props for the
Selectcomponent. - A datatype representing a telephone number.
- A time without a date. Important note: This type does not support time zones. To ensure that you are working with the clients timezone, you can use the
local_utc_offsetfield in theMetaDatato translate thisPrimitiveDateTimeto anOffsetDateTimewith the correct offset. - Serialized arguments for the [
upload_file] server function. - Serialized arguments for the [
zip_service] server function.
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.