Skip to content

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