adamhaile / surplus

High performance JSX web views for S.js applications
638 stars 26 forks source link

input's "list" attribute #73

Open shimaore opened 6 years ago

shimaore commented 6 years ago

When trying to set the list attribute on an input tag:

<input list="some-id" />

the attribute isn't set on the node (which is consistent with the documentation).

However the list property is read-only, so the above code actually does nothing.

I guess this should be an exception to the heuristic for setting attributes.

adamhaile commented 6 years ago

Thanks for the report! I wasn't aware that the property read-only here. I'll update the list of fields to specify that this should be set as an attribute.