API reference
@salmonui/inputs/form-renderer
12 exported symbols: 1 component, 6 interfaces and 5 types. Each name links its page with the signature, docs and members.
import { … } from '@salmonui/inputs/form-renderer';Components
FormRendererA form rendered from a JSON Schema subset and a UI schema: Salmon fields inside Form, laid out in rows and columns, validated by the shared rule compiler, subm…
Interfaces
FormRendererPropsFormRendererSubmitDetailsSecond argument of onSubmit: errors keyed by property name.FormSchemaThe JSON Schema subset FormRenderer renders: an object of scalar properties.FormSchemaPropertyOne property of the JSON Schema subset. Other keywords are ignored.FormUiFieldPer-property UI choices.FormUiSchemaLayout and widget choices.
Types
FormRendererDataSubmitted data, typed by the schema.FormRendererLocaleTextValidation strings (validation* keys, shared with every field) and the default submit label.FormSchemaTypeFormSchemaValueFormUiWidget