Add buefy theme support for ordering worksheet

This commit is contained in:
Lance Edgar 2020-08-20 17:56:19 -05:00
parent 7a01cb8873
commit 58362ae858
7 changed files with 282 additions and 84 deletions

View file

@ -4,6 +4,8 @@ const NumericInput = {
'<b-input',
':name="name"',
':value="value"',
'@focus="focus"',
'@blur="blur"',
'@keydown.native="keyDown"',
'@input="valueChanged"',
'>',
@ -18,6 +20,14 @@ const NumericInput = {
methods: {
focus(event) {
this.$emit('focus', event)
},
blur(event) {
this.$emit('blur', event)
},
keyDown(event) {
// by default we only allow numeric keys, and general navigation
// keys, but we might also allow Enter key