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 {
|
||||
anything: {
|
||||
mask: false,
|
||||
match: /^(?!\s*$).+/,
|
||||
match: /\s*/,
|
||||
unmask: [],
|
||||
validationError: 'Please enter a response'
|
||||
},
|
||||
|
Loading…
x
Reference in New Issue
Block a user