Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error in app$index_string <- index_string : cannot change value of locked binding for 'index_string' #247

Open
jrosell opened this issue Apr 22, 2021 · 1 comment

Comments

@jrosell
Copy link

jrosell commented Apr 22, 2021

An error on documentation https://dashr.plotly.com/external-resources.
Instead of: app$index_string <- string
Put: app$index_string(string)

@rpkyle
Copy link
Contributor

rpkyle commented Apr 22, 2021

Hi @jrosell! Thanks for reporting this error. It actually looks to appear in two locations:

https://github.com/plotly/dash-docs/blob/6dbdcb62ba270e4c1ed9bf54ccd065f76df3d970/dash_docs/chapters/external_resources/examples/custom-index-string.R#L31
https://github.com/plotly/dash-docs/blob/6dbdcb62ba270e4c1ed9bf54ccd065f76df3d970/dash_docs/chapters/external_resources/index.R#L251

If you're interested in submitting a PR to update these, I'm happy to review, otherwise I can make the change.

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

No branches or pull requests

2 participants