Skip to content

Commit 1ebe064

Browse files
Apply suggestions from code review
Co-authored-by: Pooja Bhaumik <[email protected]>
1 parent 3572a03 commit 1ebe064

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

docs/resources/control-flow/user-interactivity/forms/form-actions/set-form-field.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -28,22 +28,22 @@ If you need to update several widgets (such as a TextField and a Dropdown), use
2828

2929
#### Focus Field When Set
3030

31-
You can also set additional preferences like whether the field should be focused and how the cursor should behave using the **Focus Field When Set** option. When you enable the Focus Field When Set option, it automatically sets the focus on the field once its value is assigned.
31+
You can also set additional preferences like whether the field should be focused and how the cursor should behave using the **Focus Field When Set** option. When you enable the option, it automatically sets the focus on the field once its value is assigned.
3232

33-
It is helpful in a scenario like an “Edit Full Name” switch—when turned on, the field preloads the existing name and puts the cursor in place for immediate editing.
33+
This is helpful in scenarios such as an “Edit Full Name” switch—when turned on, the field preloads the existing name and positions the cursor for immediate editing.
3434

3535

36-
When Focus Field When Set is enabled, you can set one of the following **Cursor Position**:
36+
When **Focus Field When Set** is enabled, you can set one of the following **Cursor Position**:
3737

3838
- **End**: Places the cursor at the end of the newly filled text, letting the user continue typing from the last character.
3939
- **Start**: Positions the cursor at the beginning of the text.
4040
- **Highlight**: Selects (highlights) the entire text, letting the user immediately overwrite it.
41-
- **Preserve**: Maintains the cursor location as it was, if anyuseful if the user was already typing and you only partially changed the text.
41+
- **Preserve**: Maintains the cursor location as it was (if any), which is useful when the user is already typing and only part of the text has changed.
4242

4343
![focus-field-when-set](imgs/focus-field-when-set.avif)
4444

4545
:::info
46-
You can also set form fields that are inside the components.
46+
You can also set form fields inside the current widget’s child component.
4747
<p></p>
4848
![set-form-field-component](imgs/set-form-field-component.avif)
4949
:::

0 commit comments

Comments
 (0)