Conversation
|
Hi @alexgreat70, thank you for your contribution. Can you explain the reasoning behind this change? |
This change adds the ability to reset the default field values, which is very convenient. |
|
I tested it and agree that it makes a lot of sense. In the form input case it can be a bit confusing, though, if the underlying select does not have a blank option: There should not be a way to empty the select, only to choose another option. On the other hand, if a blank value is present, the new behavior is better since before Select2 did not provide a way to reset the select. Still, the label of the blank option is not displayed. I'd suggest to
What do you think? |
I think this should not be done, placeholder can be specified if it is really necessary, we have been using your gem for a month already and only added feature works for us, it works through fork, we are waiting for confirmation of the merge so that we can use your repository directly in Gemfile |
Select2 allow clear
|
Since the change makes matters worse in the case of |
bc3a273 to
18a9ae3
Compare
No description provided.