We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Getting select2 to use the placeholder text varies depending upon options passed into the form builder.
A "standard" config works like expected:
array( 'empty_value' => 'Select a choice...', 'choices' => array(...), );
However, if the preferred_choices option is passed in, then this config is required:
preferred_choices
array( 'empty_value' => '', 'attr' => array( 'data-placeholder' => 'Select a choice...', ), 'preferred_choices' => array(...), 'choices' => array(...), );
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Getting select2 to use the placeholder text varies depending upon options passed into the form builder.
A "standard" config works like expected:
However, if the
preferred_choices
option is passed in, then this config is required:The text was updated successfully, but these errors were encountered: