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:
parent
92a52133de
commit
17810d9cae
7 changed files with 125 additions and 84 deletions
|
@ -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)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue