angular-advanced-searchbox icon indicating copy to clipboard operation
angular-advanced-searchbox copied to clipboard

Searchbox parameter input type needs to be dynamic

Open tamigill opened this issue 9 years ago • 4 comments

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?

tamigill avatar Mar 24 '16 18:03 tamigill

Hi,

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

dnauck avatar Mar 24 '16 18:03 dnauck

See also #39

dnauck avatar Mar 24 '16 18:03 dnauck

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.

tamigill avatar Mar 25 '16 14:03 tamigill

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

dnauck avatar Mar 29 '16 15:03 dnauck