Skip to main content

HyleFormFields

Function HyleFormFields 

Source
pub fn HyleFormFields(_: HyleFormFieldsProps) -> Element
Expand description

Renders a labeled input row for every field exposed by filters.

This mirrors HyleFormFields in @tty-pt/hyle-react-dom. Fields with no metadata (not in filters.fields) are skipped.

Boolean fields render as a self-labelling checkbox (label on the right).

§Props

For details, see the props struct definition.

  • filters : HyleFiltersState
  • only : Option<Vec<String>>

    Optionally restrict which fields to render (by key). When None all fields from filters.fields are shown.