terminal42 / contao-conditionalformfields

Display form fields conditionally in Contao Open Source CMS
MIT License
18 stars 13 forks source link

Feld nach Form-Fehler disabled #72

Closed cmartin6 closed 1 year ago

cmartin6 commented 1 year ago

Bei fehlerhaften Absenden eines Formulars mit Radio-Button Feld-Toggle ist das "andere" Feld disabled.

https://user-images.githubusercontent.com/47104009/214505365-894cb8f1-171e-4773-b4ee-7a30cd2e7a8e.mov

aschempp commented 1 year ago

Fixed in 78f680d63f02a2652ca7fc93f0fc0d63f8ddc712. This originated in https://github.com/terminal42/contao-conditionalformfields/pull/18 because hidden fields must not submit their input. But conditionalformfields v3 no longer set fields to enabled or disabled, since disabling a fieldset automatically does that anyway.