You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
With very simple persisted inputs like dcc.Input(id="input-1-state", type="text", value="Montreal", persistence=True),, the following warning appears in the javascript console:
```Warning: Received true for a non-boolean attribute `persistence````
Thanks @eddy-geek - this is not harmful but it is certainly annoying. The root cause is prop forwarding with omitplotly/dash-core-components#703. Closing here and I'll reference your use case there.
…ribute `persistence`.
If you want to write it to the DOM, pass a string instead: persistence="true" or persistence={value.toString()}.
see plotly/dash#1209
System
pip install dash
. Also tested in dash 1.10 and master (1.12pre)Describe the bug
With very simple persisted inputs like
dcc.Input(id="input-1-state", type="text", value="Montreal", persistence=True),
, the following warning appears in the javascript console:```Warning: Received
true
for a non-boolean attribute `persistence````full code & stack
with the following code:
Functionality does not appear to be affected.
Expected behavior
No console warning. If I'm doing something wrong, I'd prefer an error in the python logs &| the UI.
Screenshots
The text was updated successfully, but these errors were encountered: