Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Doc] Remove mentions that explain readOnly input are still focusable #9711

Merged
merged 1 commit into from
Mar 12, 2024
Merged
Show file tree
Hide file tree
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
4 changes: 2 additions & 2 deletions docs/Inputs.md
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ The `readOnly` prop set to true makes the element not mutable, meaning the user
<TextInput source="title" readOnly />
```

Contrary to disabled controls, read-only controls are still focusable and are submitted with the form.
Contrary to disabled controls, read-only controls are submitted with the form.

## `disabled`

Expand All @@ -169,7 +169,7 @@ The `disabled` prop set to true makes the element not mutable, focusable, or eve
<TextInput source="title" disabled />
```

Contrary to read-only controls, disabled controls can not receive focus and are not submitted with the form.
Contrary to read-only controls, disabled controls are not submitted with the form.

**Warning:** Note that `disabled` inputs are **not** included in the form values, and hence may trigger `warnWhenUnsavedChanges` if the input previously had a value in the record.

Expand Down
4 changes: 2 additions & 2 deletions docs/SimpleFormIterator.md
Original file line number Diff line number Diff line change
Expand Up @@ -368,7 +368,7 @@ The `readOnly` prop set to true makes the children input not mutable, meaning th
</SimpleFormIterator>
```

Contrary to disabled controls, read-only controls are still focusable and are submitted with the form.
Contrary to disabled controls, read-only controls are submitted with the form.

## `disabled`

Expand All @@ -382,7 +382,7 @@ The `disabled` prop set to true makes the children input not mutable, focusable,
</SimpleFormIterator>
```

Contrary to read-only controls, disabled controls can not receive focus and are not submitted with the form.
Contrary to read-only controls, disabled controls are not submitted with the form.

## `sx`

Expand Down
Loading