block code editor: remove is-invalid class when the modal is closed

This commit is contained in:
Simon Vieille 2024-05-24 08:56:03 +02:00
parent 3f5bd4f950
commit 246c249d3e
Signed by: deblan
GPG key ID: 579388D585F70417

View file

@ -135,6 +135,7 @@ export default {
this.$refs.dialog.showModal()
},
closeCodeEditor() {
this.$refs.codeEditor.classList.toggle('is-invalid', false)
this.$refs.dialog.close()
},
isNextValueItemValueValid(item) {