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

Placeholder in selectInputs #187

Open
esegui opened this issue Aug 23, 2020 · 1 comment
Open

Placeholder in selectInputs #187

esegui opened this issue Aug 23, 2020 · 1 comment
Labels

Comments

@esegui
Copy link

esegui commented Aug 23, 2020

When the placeholder in selectInput is specified, it still displays the first value. not the placeholder.

When placeholder variable is specified as "Click to Select", the resulting HTML is
<input type="text" class="form-control custom-select" data-toggle="dropdown" data-boundary="window" placeholder="Choice 1" data-original-placeholder="Click to Select"/>

and does not display Click to Select in the widget, but displays "Choice 1"

How can I display "Click to select" and not the first value of "choices"?

@nteetor nteetor added the bug label Aug 27, 2020
@nteetor
Copy link
Owner

nteetor commented Aug 27, 2020

Hello @stda89, great question. The current select input implementation is trying to do too much. The next release of yonder is reworking the select input. The arguments will be streamlined and the behaviour of the input more intuitive. A new input will be added to pick up the more sophisticated behaviour of the current select input.

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

No branches or pull requests

2 participants