Closed kevinschaich closed 11 months ago
Non-word characters other than just spaces also cause issues for me in enum values – e.g. 12/28. If you wrap it – "12/28" – it works fine.
12/28
"12/28"
Some other examples:
/\W/.test('asdf') false /\W/.test('asdf/') true /\W/.test('asdf:') true /\W/.test('asdf ') true
Non-word characters other than just spaces also cause issues for me in enum values – e.g.
12/28
. If you wrap it –"12/28"
– it works fine.Some other examples: