mirror of
https://github.com/crater-invoice/crater.git
synced 2025-10-29 20:51:09 -04:00
merge dev
This commit is contained in:
@ -374,7 +374,7 @@ import MultiSelect from 'vue-multiselect'
|
||||
import { validationMixin } from 'vuelidate'
|
||||
import { mapActions, mapGetters } from 'vuex'
|
||||
import AddressStub from '../../../stub/address'
|
||||
const { required, minLength, email, numeric, alpha, url, maxLength } = require('vuelidate/lib/validators')
|
||||
const { required, minLength, email, numeric, url, maxLength } = require('vuelidate/lib/validators')
|
||||
|
||||
export default {
|
||||
components: {
|
||||
@ -421,8 +421,7 @@ export default {
|
||||
formData: {
|
||||
name: {
|
||||
required,
|
||||
minLength: minLength(3),
|
||||
alpha
|
||||
minLength: minLength(3)
|
||||
},
|
||||
email: {
|
||||
email
|
||||
|
||||
@ -142,7 +142,7 @@ export default {
|
||||
required,
|
||||
numeric,
|
||||
minValue: minValue(0.1),
|
||||
maxLength: maxLength(10)
|
||||
maxLength: maxLength(20)
|
||||
},
|
||||
description: {
|
||||
maxLength: maxLength(255)
|
||||
|
||||
Reference in New Issue
Block a user