mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2025-08-03 09:44:41 +02:00
Update:Prevent MultiSelect input from adding items that are whitespace & trim whitespace before adding items
This commit is contained in:
parent
7d8fb3bb10
commit
7f28fbb330
2 changed files with 19 additions and 11 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue