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

Suggestion: Selectize and MaskMoney #80

Closed
thiagoc7 opened this issue Jun 5, 2014 · 5 comments
Closed

Suggestion: Selectize and MaskMoney #80

thiagoc7 opened this issue Jun 5, 2014 · 5 comments

Comments

@thiagoc7
Copy link

thiagoc7 commented Jun 5, 2014

Hi Kartik V, thank you very much for your extensions.
It really helps Yii2 became this amazing framework.

I suggest you add Selectize:
http://brianreavis.github.io/selectize.js/
I think it's better than select2. Easier to theme, native option to add new record, and the original style feels more like Bootstrap 3.

And MaskMoney:
https://github.com/plentz/jquery-maskmoney
Although I saw your new original MaskedInput in Yii2, I think MaskMoney is much better for financial stuff.
It is used in many banks websites here in Brazil, so It should be reliable.

Thanks!

@kartik-v
Copy link
Owner

kartik-v commented Jun 5, 2014

Thanks for the suggestions. I thought there is another yii2 extension or two already available on packagist, based on Selectize. Any reason you want it here as well?

Also, are there any major differences between Select2 & Selectize (other than the fact that Selectize supports plugins)? Select2 has currently more support running on github - but if there is a strong reason you need Selectize widget in here (let know).

On Bootstrap style... for Select2 - I have kind of worked to tweak the CSS styling myself (there is a separate bootstrap3 css for select2) to make it look a lot like Bootstrap 3 inputs. Don't you think so?

@thiagoc7
Copy link
Author

thiagoc7 commented Jun 5, 2014

Hi Kartik,

I´m using another selectize extension, and it works very well.
I just asking for your support because I feel really confortable using your extensions, and also it could integrate better with your other extensions if you support.

Your css style is very good with select2, I think it´s just a matter of taste, for me selectize feels more modern.

And a feature I really like in selectize is the ability to add new itens "on the fly".
I´m still not using it, but if you wish I can find out how it could be integrated with Yii2 CRUD.

Thanks!

@kartik-v
Copy link
Owner

kartik-v commented Jun 5, 2014

FYI... I would be soon releasing a Mask Money widget.

@kartik-v
Copy link
Owner

kartik-v commented Jun 5, 2014

New extension yii2-money created. Refer docs/demos.

I am closing this issue, and will update it later once I get time to do Selectize.

@kartik-v kartik-v closed this as completed Jun 5, 2014
@kartik-v
Copy link
Owner

kartik-v commented Jun 9, 2014

I did a few tests internally with Selectize widget. They do work and the plugin does do a good job.

I have not tested everything yet... but one of the initial basic critical shortcomings that I saw with this plugin, is that you cannot set a selected option back to an EMPTY value once you have selected data. For example the allowClear property of Select2 Widget allows you to clear the selected value and displays the placeholder.

Related open issue here in this plugin. Will wait until such issues are resolved for practically being able to use the plugin as a replacement for Dropdown Lists.

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

No branches or pull requests

2 participants