This project is archived and is in readonly mode.
Make obvious and integrate HTML5 "required" attribute
-
José Valim
- State changed from new to wontfix
- Importance changed from to Low
Unfortunately, changing this will break support to previous rails versions, as the part which generates required="required" is a common path to all html options. And IMHO it makes no sense to whitelist a few HTML5 attributes for cosmetic reasons.
-
Adrian Perez
Good enough for me, but still it does seem odd, and we don't know whereelse this could be happing so we're going to have: required="required", disabled="disabled", autofocus="autofocus". Quite odd. But still HTML5 is fairly new.