plotly / dash-core-components

OBSOLETE: now part of https://github.com/plotly/dash
https://dash.plotly.com
MIT License
271 stars 145 forks source link

dcc.Input has invalid attributes #947

Closed coleweusthem closed 3 years ago

coleweusthem commented 3 years ago

Following web standards all elements should use the format data-* when using unsupported attributes.

dcc.Input uses 'persisted_props' and 'persistence_type' as attributes, to comply with standards they should be 'data-persisted_props' and 'data-persistence_type'

<input id="lat_min" type="number" max="90" min="-90" placeholder="Min Latitude" step="5" persisted_props="value" persistence_type="local">

alexcjohnson commented 3 years ago

These attributes shouldn't be attached to the DOM at all #855 #703