Project

General

Profile

Actions

Bug #15726

closed

Formelement upload stays required when changed from required to hidden

Added by Jan Haller about 1 year ago. Updated 11 months ago.

Status:
Closed
Priority:
Normal
Assignee:
Jan Haller
Target version:
Start date:
07.03.2023
Due date:
% Done:

0%

Estimated time:
Discuss:
Prio Planung:
No
Vote:

Description

Formelement.type = upload

Formelement upload wird mit dynamic Update (Radiobuttons) von required auf hidden gestellt. Beim Speicherversuch erscheint die Meldung "Form is incomplete". Die Ursache scheint beim HTML Element "input" zu liegen, weil das Attribut required="required" bestehen bleibt, obwohl der Upload hidden ist.

Notizen für Fix:

  • Wo wird der Tag aktualisert (JS oder PHP)?

Genaue Fehlerbeschreibung:

  • Voraussetzungen: Es wurde bereits eine Datei hochgeladen.
  • Ist das Upload-Feld beim Laden des Forms auf required und die Datei wird gelöscht, wird dem HMTL <input> Element das Attribut required hinzugefügt.
  • Dieser wird duch umschalten auf hidden nicht entfernt, weshalb das Form nicht gespeichert werden kann.

Files

Actions #1

Updated by Jan Haller about 1 year ago

  • File deleted (clipboard-202303071043-g3oau.png)
Actions #2

Updated by Jan Haller about 1 year ago

  • Description updated (diff)
Actions #3

Updated by Jan Haller about 1 year ago

  • Description updated (diff)
Actions #4

Updated by Jan Haller about 1 year ago

  • Status changed from New to In Progress
Actions #5

Updated by Jan Haller about 1 year ago

  • Description updated (diff)
Actions #6

Updated by Jan Haller about 1 year ago

  • Status changed from In Progress to Ready to sync (develop)
  • Priority changed from High to Normal
Actions #7

Updated by Carsten Rose 11 months ago

  • Status changed from Ready to sync (develop) to Closed
  • Target version changed from 411 to 23.6.0
Actions

Also available in: Atom PDF