StringSchemaInputcomponent
StringSchemaInput({ schema, value, ...props }: StringSchemaInputProps): ReactElement| Param | Type | |
|---|---|---|
props | StringSchemaInputProps | Props for StringSchemaInput, the StringSchema input variant. required |
| Return | |
|---|---|
ReactElement | A TextInput element bound to the schema. |
Show a TextInput for a StringSchema, sanitising and formatting values with the schema.
Examples
<StringSchemaInput name="email" schema={EMAIL} />