Misc. improvements for desktop receiving views

- don't expose "cases" if config says not to
- don't expose "expired" if config says not to
- use `numeric-input` for quantity fields
- add `product_key_field` to global-ish template context
This commit is contained in:
Lance Edgar 2022-07-26 16:30:04 -05:00
parent 92a52133de
commit 17810d9cae
7 changed files with 125 additions and 84 deletions

View file

@ -20,7 +20,7 @@ const NumericInput = {
props: {
name: String,
value: String,
value: [Number, String],
placeholder: String,
iconPack: String,
icon: String,
@ -53,6 +53,10 @@ const NumericInput = {
}
},
select() {
this.$el.children[0].select()
},
valueChanged(value) {
this.$emit('input', value)
}