Skip to content

Commit 9a5b265

Browse files
committed
Adjust copy
1 parent 5e1db56 commit 9a5b265

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

docs/data/material/migration/migrating-to-v6/migrating-to-v6.md

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -123,13 +123,14 @@ For alternative installation methods, refer to the [CDN documentation](/material
123123

124124
#### New reason values added to onInputChange
125125

126-
Three new possible values have been added to the `reason` argument in the `onInputChange` callback of the Autocomplete component:
126+
Three new possible values have been added to the `reason` argument in the `onInputChange` callback of the Autocomplete component.
127+
These three were previously treated as `"reset"`, so if you are relying on that, you might need to adjust your code accordingly:
127128

128-
- `"blur"`: like `"reset"` but triggered when the focus is moved off the input. `clearOnBlur` must be `true`. Before, it was treated as `"reset"`.
129-
- `"selectOption"`: triggered when the input value changes after an option has been selected. Before, it was treated as `"reset"`.
130-
- `"removeOption"`: triggered in multiple selection when a chip gets removed due to the corresponding option being selected. Before, it was treated as `"reset"`.
129+
- `"blur"`: like `"reset"` but triggered when the focus is moved off the input. `clearOnBlur` must be `true`.
130+
- `"selectOption"`: triggered when the input value changes after an option has been selected.
131+
- `"removeOption"`: triggered in multiple selection when a chip gets removed due to the corresponding option being selected.
131132

132-
These are added on top of the existing ones: `"input"`, `"reset"`, or `"clear"`.
133+
These are added on top of the existing ones: `"input"`, `"reset"`, and `"clear"`.
133134

134135
### Chip
135136

0 commit comments

Comments
 (0)