New issue
Advanced search Search tips

Issue 690927 link

Starred by 4 users

Issue metadata

Status: ExternalDependency
Owner: ----
Components:
EstimatedDays: ----
NextAction: ----
OS: ----
Pri: 3
Type: Feature



Sign in to add a comment

submitanyway attribute (like readonly)

Reported by ilise...@gmail.com, Feb 10 2017

Issue description

Hello,

This is a proposal for a new feature to have readonly fields (and submit their values).
Currently "readonly" attribute supports only text related fields. It would be very nice to extend this readonly concept to other fields as well like select boxes, checkboxes, etc.

WHATWG agrees to standardize a new attribute called "submitanyway" to achieve this functionality, in combination with "disabled" attribute.

So basically for input type=text and textarea elements we can use the already existing "readonly" attribute, and for the rest fields (ie radio, checkbox, select, multi select) we can use "disabled" plus "submitanyway".

See https://github.com/whatwg/html/issues/2311 for more info.

There are plenty of users requesting this kind of functionality. Obviously there are workarounds but they all involve a lot of unnecessary boilerplate that would be really great to get rid of.

Thank you for your time.


 
Labels: -Type-Bug Type-Feature

Comment 2 Deleted

Components: Blink>Forms

Comment 4 by tkent@chromium.org, Mar 8 2017

Status: ExternalDependency (was: Unconfirmed)
If it's standardized, we'll implement it.

Sign in to add a comment