Simplify "anything" input validatin regex

This commit is contained in:
rthoward 2018-10-11 16:55:48 -04:00
parent 76854acf81
commit 95f6b17e3b

View File

@ -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'
},