Update:Prevent MultiSelect input from adding items that are whitespace & trim whitespace before adding items

This commit is contained in:
advplyr 2024-05-26 14:37:07 -05:00
parent 7d8fb3bb10
commit 7f28fbb330
2 changed files with 19 additions and 11 deletions

View file

@ -493,9 +493,6 @@ export default {
if (match.narrator && !Array.isArray(match.narrator)) {
match.narrator = match.narrator.split(',').map((g) => g.trim())
}
if (match.author && !Array.isArray(match.author)) {
match.author = match.author.split(',').map((g) => g.trim())
}
}
console.log('Select Match', match)