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

Select2 Widget 'allowClear' => true #104

Closed
sn4k3 opened this issue Jul 8, 2014 · 1 comment
Closed

Select2 Widget 'allowClear' => true #104

sn4k3 opened this issue Jul 8, 2014 · 1 comment
Labels

Comments

@sn4k3
Copy link

sn4k3 commented Jul 8, 2014

Hello,

Select2 Widget 'allowClear' => true only works if a placeholder is set, otherwise x to clear will not be render. It works well with a placeholder message.

@kartik-v kartik-v added the docs label Jul 9, 2014
@kartik-v
Copy link
Owner

kartik-v commented Jul 9, 2014

Yes that's correct... that's a prerequisite and inbuilt behavior for the core select2 plugin - you must set a placeholder when you want to use allowClear property.

@kartik-v kartik-v closed this as completed Jul 9, 2014
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