Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions src/content/docs/useform/register.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,6 @@ These are validation rules, not native HTML attributes. They run based on the fo

| Name | Description |
| ----------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `ref`<TypeText pre>React.Ref</TypeText> | React element `ref` |
| `required`<TypeText pre>boolean</TypeText> | Indicates that the input must have a value before the form can be submitted.<br/><br/>**Note:** This config aligns with web constrained API for required input validation, for object or array input types, use the validate function instead. |
| `maxLength`<TypeText pre>number</TypeText> | The maximum length of the value to accept for this input. |
| `minLength`<TypeText pre>number</TypeText> | The minimum length of the value to accept for this input. |
Expand All @@ -83,7 +82,6 @@ These are validation rules, not native HTML attributes. They run based on the fo

| Name | Description |
| -------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `ref`<TypeText pre>React.Ref</TypeText> | React element `ref` |
| `required`<TypeText pre>string \|<br/><PrettyObject value={{value: 'boolean', message: 'string'}}/></TypeText> | Indicates that the input must have a value before the form can be submitted. <br/><br/>**Note:** This config aligns with web constrained API for required input validation, for object or array input types, use the validate function instead. |
| `maxLength`<TypeText pre><PrettyObject value={{value: 'number', message: 'string'}}/></TypeText> | The maximum length of the value to accept for this input. |
| `minLength`<TypeText pre><PrettyObject value={{value: 'number', message: 'string'}}/></TypeText> | The minimum length of the value to accept for this input. |
Expand Down
Loading