Opened 7 years ago
Last modified 5 years ago
#44103 new feature request
change the type attribute of #menu_order from 'text' to 'number'
Reported by: | tmatsuur | Owned by: | |
---|---|---|---|
Milestone: | Awaiting Review | Priority: | normal |
Severity: | normal | Version: | 4.9.5 |
Component: | General | Keywords: | has-patch ux-feedback |
Focuses: | Cc: |
Description
Currently, when focus shifts to the input box of menu_order in the situation that the IME is turned on, an extra operation such as inputting a numerical value after turning off the IME is necessary.
I would like to improve on this.
Now:
<input name="menu_order" type="text" size="4" id="menu_order" value="<?php echo esc_attr( $post->menu_order ); ?>" />
Change:
<input name="menu_order" type="number" id="menu_order" value="<?php echo esc_attr( $post->menu_order ); ?>" />
Also, please add a style to specify the width.
Attachments (1)
Change History (8)
#1
follow-up:
↓ 2
@
6 years ago
- Keywords has-patch ux-feedback added
Thank you for bring this to our attention. Patch attached.
#2
in reply to:
↑ 1
@
6 years ago
Replying to soulseekah:
Thank you for bring this to our attention. Patch attached.
Thank you for attached the patch.
This ticket was mentioned in Slack in #design by karmatosed. View the logs.
5 years ago
#4
@
5 years ago
Could someone add some before/after screenshots? That'll help folks reviewing to understand the context.
Note: See
TracTickets for help on using
tickets.
type="text" to type="number" on menu_order inputs