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

feat(Datatable) make search input configurable to avoid conflicts #13

Merged
merged 1 commit into from
Dec 18, 2016

Conversation

joebordes
Copy link
Contributor

I have some conflicts with the default "search" input name so I made this change in order to be able to specify the search input element name.

@Mevrael Mevrael merged commit b9c9363 into Mevrael:master Dec 18, 2016
@Mevrael
Copy link
Owner

Mevrael commented Dec 18, 2016

hi, thx.

I've updated search, added column filtering and updated examples https://bunnyjs.com/examples/datatable/?order_by=age&order_rule=asc&age=3&page=2

Now you can add as many inputs or even selects as you want and give them any name="".

P.S. don't access any dependencies directly, use this.Config... instead. For example if you will set new Config to DropdownUI.Config, you will not access your new object but old one.

@joebordes
Copy link
Contributor Author

Works perfect

Ok, I understand. Thank you

@joebordes joebordes deleted the datatable_configurablesearchinput branch December 18, 2016 19:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants