diff --git a/docs/api/react/getInputProps.md b/docs/api/react/getInputProps.md index c976d9af..e580b322 100644 --- a/docs/api/react/getInputProps.md +++ b/docs/api/react/getInputProps.md @@ -60,14 +60,14 @@ function Example() { defaultValue={fields.task.initialValue} aria-invalid={!fields.task.valid || undefined} aria-describedby={!fields.task.valid ? fields.task.errorId : undefined} - required={field.task.required} - minLength={field.task.minLength} - maxLength={field.task.maxLength} - min={field.task.min} - max={field.task.max} - step={field.task.step} - pattern={field.task.pattern} - multiple={field.task.multiple} + required={fields.task.required} + minLength={fields.task.minLength} + maxLength={fields.task.maxLength} + min={fields.task.min} + max={fields.task.max} + step={fields.task.step} + pattern={fields.task.pattern} + multiple={fields.task.multiple} /> {/* checkbox */} ); diff --git a/docs/api/react/getSelectProps.md b/docs/api/react/getSelectProps.md index 6ab52b80..bce26bd8 100644 --- a/docs/api/react/getSelectProps.md +++ b/docs/api/react/getSelectProps.md @@ -57,8 +57,8 @@ function Example() { aria-describedby={ !fields.category.valid ? fields.category.errorId : undefined } - required={field.category.required} - multiple={field.category.multiple} + required={fields.category.required} + multiple={fields.category.multiple} /> ); diff --git a/docs/api/react/getTextareaProps.md b/docs/api/react/getTextareaProps.md index 75640d33..6a7af229 100644 --- a/docs/api/react/getTextareaProps.md +++ b/docs/api/react/getTextareaProps.md @@ -57,9 +57,9 @@ function Example() { aria-describedby={ !fields.content.valid ? fields.content.errorId : undefined } - required={field.content.required} - minLength={field.content.minLength} - maxLength={field.content.maxLength} + required={fields.content.required} + minLength={fields.content.minLength} + maxLength={fields.content.maxLength} /> ); diff --git a/docs/api/react/useInputControl.md b/docs/api/react/useInputControl.md index 07a1d3ae..ee5fdb66 100644 --- a/docs/api/react/useInputControl.md +++ b/docs/api/react/useInputControl.md @@ -18,7 +18,7 @@ function Example() { return (