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

Cannot apply style_class on date filter #469

Closed
darron1217 opened this issue Jun 6, 2018 · 5 comments
Closed

Cannot apply style_class on date filter #469

darron1217 opened this issue Jun 6, 2018 · 5 comments
Labels

Comments

@darron1217
Copy link

darron1217 commented Jun 6, 2018

style_class not working for date filter (datepicker)

Current
image

Expected
image

The code

                  column_number : 4,
                  filter_type: 'date',
                  filter_default_label: '검색',
                  style_class: 'form-control',
                  reset_button_style_class: 'form-control',
                  filter_plugin_options: {
                    language: 'ko',
                    startView: "months",
                    minViewMode: "months"
                  }

On version 0.9.3

@vedmack
Copy link
Owner

vedmack commented Jun 6, 2018

please provide a minimal test page jsfiddle...

@darron1217
Copy link
Author

http://jsfiddle.net/chcLmmps/78/

It's quite dirty but you can see the bug

@vedmack vedmack added the bug label Jun 10, 2018
@lenamtl
Copy link

lenamtl commented Jun 19, 2018

I think you have to edit the JS directly.
This is what I did to apply Bootstrap CSS on the fields.

Maybe you can add to CSS class that is added by the JS.

@vedmack
Copy link
Owner

vedmack commented Jun 19, 2018

I already fixed that and will publish it very soon

vedmack added a commit that referenced this issue Jun 20, 2018
@vedmack
Copy link
Owner

vedmack commented Jun 20, 2018

fixed in 0.9.4.beta.1

@vedmack vedmack closed this as completed Jun 20, 2018
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

3 participants