Simplify "anything" input validatin regex
This commit is contained in:
@@ -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'
|
||||||
},
|
},
|
||||||
|
Reference in New Issue
Block a user