Commit sur main · 88287f1 · @rmdes
691b359 made component lookups throw when an element is missing. Four lookups are of elements that are absent by design, each already followed by a null check: the file-input picker and the geo-input button live only in a until connectedCallback clones them in, a tag-input hint and error message are only rendered when given, and the textarea status bar can be turned off. The throw aborted connectedCallback, so the upload button on photo, video, audio and featured fields and the find location button were never wired, and the category field rendered as a plain input. Those four go back to querySelector with nullable types. New component tests mount file-input and geo-input as custom elements in jsdom.