mirror of
https://github.com/optim-enterprises-bv/vault.git
synced 2025-11-02 03:27:54 +00:00
ui: add input as event for text form field (#18563)
* add input as event for form field * fix event typo, lowercase u
This commit is contained in:
@@ -302,8 +302,9 @@
|
||||
autocomplete="off"
|
||||
spellcheck="false"
|
||||
value={{or (get @model this.valuePath) @attr.options.defaultValue}}
|
||||
onchange={{this.onChangeWithEvent}}
|
||||
onkeyup={{this.handleKeyUp}}
|
||||
{{on "input" this.onChangeWithEvent}}
|
||||
{{on "change" this.onChangeWithEvent}}
|
||||
{{on "keyup" this.handleKeyUp}}
|
||||
class="input {{if this.validationError 'has-error-border'}} has-bottom-margin-m"
|
||||
maxLength={{@attr.options.characterLimit}}
|
||||
/>
|
||||
|
||||
Reference in New Issue
Block a user