You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Made hiding the stepper arrows for inputs of type "number" and revealing them on hover and focus the default `TextField` behaviour to mimic the default browser experience
Copy file name to clipboardExpand all lines: polaris.shopify.com/content/components/selection-and-input/text-field.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -214,7 +214,7 @@ Use the placeholder to provide information that’s required to use the text fie
214
214
Text fields have standard keyboard support.
215
215
216
216
- Merchants who rely on the keyboard expect to move focus to each text field using the <kbd>tab</kbd> key (or <kbd>shift</kbd> + <kbd>tab</kbd> when tabbing backwards)
217
-
- If the `type` is set to `number`, then merchants can use the up and down arrow keys to adjust the value typed into the field
217
+
- If the `type` is set to `number`, then merchants can use the up and down arrow keys to adjust the value typed into the field when hovering over or focusing the field to make the arrows appear
218
218
- Using the `disabled` prop will prevent the text field from receive keyboard focus or inputs
219
219
- The `readOnly` prop allows focus on the text field but prevents input or editing
220
220
- The `inputMode` prop can be used to bring up a relevant keyboard for merchants on mobile; it’s passed down to the input as an [`inputmode` attribute](https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/inputmode)
0 commit comments