Skip to content
This repository was archived by the owner on Jun 3, 2024. It is now read-only.

dcc.Input has invalid attributes #947

Closed
coleweusthem opened this issue Apr 6, 2021 · 1 comment
Closed

dcc.Input has invalid attributes #947

coleweusthem opened this issue Apr 6, 2021 · 1 comment

Comments

@coleweusthem
Copy link

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
Copy link
Collaborator

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants