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 shiny unused argument #29

Open
adeelfarooqi93 opened this issue Jul 30, 2020 · 1 comment
Open

Error in shiny unused argument #29

adeelfarooqi93 opened this issue Jul 30, 2020 · 1 comment

Comments

@adeelfarooqi93
Copy link

I have a problem with my inputId. Can't understand why I can't name it.
Error in shiny::selectInput(InputId = "type", label = h3("Collision Type:"), :
unused argument (InputId = "type")
The code is
shiny::selectInput(InputId = "type",
label=h3("Collision Type:"),
choices= c("Rear End",
"ANGLE-Front To Side-Other Than Left Turn)",
"Sideswipe Same Direction", "Head On", "Left Turn",
"Single Vehicle", "Unknown"),
selected = "Head On")

Help needed!

@jamisoncrawford
Copy link
Collaborator

Hi @adeelfarooqi93 - sorry for the delay!

I spotted the bug immediately as it's not uncommon. The arguments are case sensitive and input ID should be inputId =, rather than InputId =. Let me know if that helps!

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

No branches or pull requests

2 participants