Browse Source

Correction bug input disabled et sors du formulaire

Sangfroid 8 months ago
parent
commit
21eb0058ac
1 changed files with 1 additions and 1 deletions
  1. 1 1
      assets/js/addCollectionVanilla.js

+ 1 - 1
assets/js/addCollectionVanilla.js

@@ -4,7 +4,7 @@ import { autocomplete } from './autocomplete'
     document
     document
         .querySelectorAll('ul.collection-form li')
         .querySelectorAll('ul.collection-form li')
         .forEach(item => {
         .forEach(item => {
-            item.querySelector('input').disabled = true
+            item.querySelector('input').readOnly = true
             addDeleteLink(item)
             addDeleteLink(item)
         });
         });