[wp-trac] [WordPress Trac] #48030: HTML5 input types are not being reset when submitting the addtag form
WordPress Trac
noreply at wordpress.org
Mon Mar 21 05:00:23 UTC 2022
#48030: HTML5 input types are not being reset when submitting the addtag form
-------------------------------------+-------------------------------------
Reporter: stevegrunwell | Owner: davidbaumwald
Type: defect (bug) | Status: reopened
Priority: normal | Milestone: 6.0
Component: Taxonomy | Version:
Severity: minor | Resolution:
Keywords: needs-testing needs- | Focuses: ui, javascript,
patch | administration
-------------------------------------+-------------------------------------
Changes (by peterwilsoncc):
* keywords: has-patch needs-testing => needs-testing needs-patch
* status: closed => reopened
* resolution: fixed =>
Comment:
The selector is a little eager and removes the text from the submit button
too. I've added a gif above to illustrate.
I suggest
* include the parent `div.form-field > ` in the selector
* exclude button `type`s, including submit, reset, etc.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/48030#comment:6>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list