From 9c149726302999bcd397cec8e9280fd8ca33fbe5 Mon Sep 17 00:00:00 2001 From: David Baumgold Date: Wed, 5 Aug 2026 10:23:01 +0200 Subject: [PATCH] RegisterOptions does not accept ref --- src/content/docs/useform/register.mdx | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/content/docs/useform/register.mdx b/src/content/docs/useform/register.mdx index 53fd1bd2f..e483bc655 100644 --- a/src/content/docs/useform/register.mdx +++ b/src/content/docs/useform/register.mdx @@ -59,7 +59,6 @@ These are validation rules, not native HTML attributes. They run based on the fo | Name | Description | | ----------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `ref`React.Ref | React element `ref` | | `required`boolean | Indicates that the input must have a value before the form can be submitted.

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

**Note:** This config aligns with web constrained API for required input validation, for object or array input types, use the validate function instead. | | `maxLength` | The maximum length of the value to accept for this input. | | `minLength` | The minimum length of the value to accept for this input. |