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

Added search type property to ionicFilterBar scope #48

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

CodeMuz
Copy link

@CodeMuz CodeMuz commented Sep 27, 2015

I required a date and month picker in the search so extended the plugin. The factory IonicFilterBar has added the following searchType property which allows the HTML input element to have the type set. This can be configured from an angular controller as an option on the show() function. E.g:

 filterBarInstance = $ionicFilterBar.show({searchtype:'text'}});

I've run the karma unit tests which pass 11/11 and tested it on android/ios with several search inputs of different types inside one view, all seems ok. The component change is not supported on the favourites bar, let me know if you would like this too.

This is to handle numbers or dates gracefully, they contain digits and
have length undefined
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.

1 participant