mirror of
https://github.com/crater-invoice/crater.git
synced 2025-10-28 04:01:10 -04:00
validation changes
This commit is contained in:
@ -306,12 +306,12 @@ export default {
|
||||
quantity: {
|
||||
required,
|
||||
minValue: minValue(1),
|
||||
maxLength: maxLength(10)
|
||||
maxLength: maxLength(20)
|
||||
},
|
||||
price: {
|
||||
required,
|
||||
minValue: minValue(1),
|
||||
maxLength: maxLength(10)
|
||||
maxLength: maxLength(20)
|
||||
},
|
||||
discount_val: {
|
||||
between: between(0, this.maxDiscount)
|
||||
|
||||
Reference in New Issue
Block a user