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
https://github.com/clevertech/YiiBooster/blob/master/widgets/TbSelect2.php#L40 disallows empty data, this is however needed in my case where I populate the dropdown using an separate ajax call (chanined select boxes).
Could you add an option to allow empty data initialization?
It would also be nice if the widget added the needed empty extra option if placeholder is defined, like http://www.yiiframework.com/extension/select2/ does:
if (isset($this->options['placeholder'])) $data[''] = ''; $this->data = $data + $this->data;
The text was updated successfully, but these errors were encountered:
ba336de
No branches or pull requests
https://github.com/clevertech/YiiBooster/blob/master/widgets/TbSelect2.php#L40 disallows empty data, this is however needed in my case where I populate the dropdown using an separate ajax call (chanined select boxes).
Could you add an option to allow empty data initialization?
It would also be nice if the widget added the needed empty extra option if placeholder is defined, like http://www.yiiframework.com/extension/select2/ does:
The text was updated successfully, but these errors were encountered: