0

I have followed by this answer https://stackoverflow.com/questions/29489821/allow-manually-entered-text-in-ui-select#=

But have problems when add ng-model-options="{ debounce: 500 }" to the ui-select, doesn't work anymore. Any workaround?

Have found this on Github, so it haven't fixed yet https://github.com/angular-ui/ui-select/issues/855

Community
  • 1
  • 1
Rhonin
  • 474
  • 4
  • 20

1 Answers1

0

You could force the input, present in the ui-select, with class "ui-select-search" to be a number type.

Like this example:

$("#idUiSelect .ui-select-search").attr('type', 'number').attr("min","0");

I've used JQuery for term of time