Autocomplete attribute doesn’t allow multiple tokens
-
Such as in
modules/textarea.php:$atts['autocomplete'] = $tag->get_option(
'autocomplete', '[-0-9a-zA-Z]+', true
);The regex does not allow spaces. However, according to the MDN documentation on the
autocompleteattribute (emphasis mine):The attribute value is either the keyword
offoron, or an ordered list of space-separated tokens.And also gives an example with space-separated tokens:
<input autocomplete="section-user1 billing postal-code" />It would be nice if the space character could be valid somehow please. Thank you!
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
The topic ‘Autocomplete attribute doesn’t allow multiple tokens’ is closed to new replies.