Skip to content

ff_input

thkle edited this page Jan 10, 2018 · 1 revision

Input

Props

  • type
    • default: 'text'
  • spellcheck
    • default: true
  • selectTextOnFocus
    • default: false
  • hideSuffixIfEmpty
    • default: false
  • maxLength
    • default: 0
  • align
    • default: 'left'
  • blurCallback
  • pasteCallback
    • If text is pasted, this will be triggered. Params: pastedText, this.
  • class
  • readonly
    • default: false
    • always use with clearable:false, otherwise values will be deleteable and we don't want that, do we?
  • focusAfterClear
    • default: true
  • validationPattern
    • RegEx. Can be used instead of validationCallback.
  • formatCallback
    • use this to format the input's value. Params: value, $input, this.

Clone this wiki locally