[wp-trac] [WordPress Trac] #31909: wp_dropdown_categories() select field cannot accept HTML 'required'
WordPress Trac
noreply at wordpress.org
Sun Nov 22 13:08:25 UTC 2015
#31909: wp_dropdown_categories() select field cannot accept HTML 'required'
------------------------------------+------------------------------
Reporter: wzislam | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Taxonomy | Version: 4.1.1
Severity: normal | Resolution:
Keywords: has-patch dev-feedback | Focuses: template
------------------------------------+------------------------------
Comment (by butterflymedia):
Replying to [comment:1 boonebgorges]:
> Are there attributes other than 'required' that one might reasonably
want to add to the `<select>` element? (Like maybe `'data-'` attributes of
some sort?) Maybe we could add a `select_atts` param, which would accept
an array of additional attributes:
>
I think `disabled` and `readonly` should also be there.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/31909#comment:6>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list