mirror of
https://codeberg.org/PostERG/xamxam.git
synced 2026-08-10 07:11:18 +02:00
FilePond 4.x wraps the original input element in its own DOM structure which can break CSS attribute selectors. querySelector with .tfe-file-picker[data-queue-type='...'] returned null even though the element existed and was initialized. Switched to getElementById with a queueType→inputId map: cover → couverture note_intention → note_intention tfe → tfe-files-input annexe → annexe-files-input getElementById is both faster and immune to FilePond's DOM wrapping.
94 B
94 B
TODO
- Fix relinked file not appearing in FilePond UI: switch to ID-based input lookup