Skip to content

Commit

Permalink
* Make trimmed input value reflects immediately
Browse files Browse the repository at this point in the history
  • Loading branch information
PikachuEXE committed Jun 11, 2024
1 parent aa774c5 commit faa05cd
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,9 @@ export default defineComponent({
return
}

this.playlistName = input.trim()
const trimmedInput = input.trim()
this.playlistName = trimmedInput
this.$refs.playlistNameInput.updateInputData(trimmedInput)
},

createNewPlaylist: function () {
Expand Down

0 comments on commit faa05cd

Please sign in to comment.