dnauck / angular-advanced-searchbox

A directive for AngularJS providing a advanced visual search box
http://dnauck.github.io/angular-advanced-searchbox/
MIT License
226 stars 98 forks source link

Searchbox parameter input type needs to be dynamic #45

Open tamigill opened 8 years ago

tamigill commented 8 years ago

Hello! We need to be able to pull the input type of the current search parameter from a config so that the appropriate keyboard will be triggered on tablets. Input type "number" automatically triggers the numeric keyboard, and input type "text" triggers the alpha keyboard.

Can someone help me solve this issue?

dnauck commented 8 years ago

Hi,

that is on my todo list to support HTML 5 input types. Its not a big issue.

dnauck commented 8 years ago

See also #39

tamigill commented 8 years ago

Thank you for responding! I am having trouble dynamically assigning the input type based on the parameter. So at run-time, some parameters should be assigned input type="number" and others should be assigned input type="text". I haven't been able to determine how to set this up programmatically. Even when HTML5 support is available, I will still need help figuring out how to do this, if it is even possible.

dnauck commented 8 years ago

You can test the latest dev build and set the type property for each search parameter