Simplify "anything" input validatin regex
This commit is contained in:
parent
76854acf81
commit
95f6b17e3b
@ -5,7 +5,7 @@ import createAutoCorrectedDatePipe from 'text-mask-addons/dist/createAutoCorrect
|
|||||||
export default {
|
export default {
|
||||||
anything: {
|
anything: {
|
||||||
mask: false,
|
mask: false,
|
||||||
match: /^(?!\s*$).+/,
|
match: /\s*/,
|
||||||
unmask: [],
|
unmask: [],
|
||||||
validationError: 'Please enter a response'
|
validationError: 'Please enter a response'
|
||||||
},
|
},
|
||||||
|
Loading…
x
Reference in New Issue
Block a user