# Props

itemTemplate

  • Type: Vue component
  • Default: null

Template for item in suggestion list

items

  • Type: Array
  • Default: []

Suggestion array, should be updated dynamically after `onInputChange()`

setLabel

  • Type: Function
  • Default: function _default(item) { return item; }

Value of chosen input, be shown in the input`

loading

  • Type: Boolean
  • Default: false

!!

minLen

  • Type: Number
  • Default: 2

Minimum number of characters inputted to start searching

styleClasses

  • Type: String, Array, Object
  • Default: ''

Custom classes for the wrapper

inputOptions.maxlength

  • Type: Number
  • Default: 100

Native input `maxlength` attribute

inputOptions.type

  • Type: String
  • Default: 'search'

Native input `type` attribute

inputOptions.placeholder

  • Type: String
  • Default: ''

Placeholder of the input

inputOptions.styleClasses

  • Type: String, Array, Object
  • Default: ''

Custom classes for the input

inputOptions.wrapperStyleClasses

  • Type: String, Array, Object
  • Default: ''

Custom classes for the input

suggestionOptions.listStyleClasses

  • Type: String, Array, Object
  • Default: ''

Custom classes for the input

suggestionOptions.groupStyleClasses

  • Type: String, Array, Object
  • Default: ''

Custom classes for the input

suggestionOptions.groupHeaderStyleClasses

  • Type: String, Array, Object
  • Default: ''

Custom classes for the input

suggestionOptions.groupHeaderStyleClasses

  • Type: String, Array, Object
  • Default: ''

Custom classes for the input

suggestionOptions.groupHeaderStyleClasses

  • Type: String, Array, Object
  • Default: ''

Custom classes for the input

suggestionOptions.itemWrapperStyleClasses

  • Type: String, Array, Object
  • Default: ''

Custom classes for the input

suggestionOptions.itemStyleClasses

  • Type: String, Array, Object
  • Default: ''

Custom classes for the input

disabled

  • Type: Boolean
  • Default: false

Disable the input

Last Updated: 8/15/2021, 6:19:05 AM