#94307f:form.hidden inconsistency for disabled attribute
Description
These tags will all throw an exception:
<f:form name="test" value="1" disabled></f:form>
<f:form name="test" value="1" disabled="disabled"></f:form>
Exception:
Undeclared arguments passed to ViewHelper TYPO3\CMS\Fluid\ViewHelpers\Form\HiddenViewHelper: disabled. Valid arguments are: additionalAttributes, data, aria, name, value, property, class, dir, id, lang, style, title, accesskey, tabindex, onclick
Other f:form.* tags allow disabled=“disabled” so the behavior is inconsistent .
Reviews 0
No change resolves or names this issue in its commit message, and no comment links one.
History 7
-
Georg Ringer commented and changed status
NewNeeds Feedback 06/05/24, 22:01 -
Aimeos no-lastname-given commented 06/07/24, 08:29
Georg Ringer wrote in #note-1:
> can you tell if this feature request/bug report is still valid and if so what is a use case for that? hidden fields are not shown to the user, why defining as disabled?Sometimes, what should be sent to the server depends on what the user selects in the frontend. For example, there are two options and both require sending additional data to the server in a hidden field and by default, one or both must be disabled to avoid wrong processing at the server side.
-
Garvin Hicking changed Complexity easy Sprint Focus On Location Sprint 06/07/24, 21:08
-
Garvin Hicking changed status
Needs FeedbackAccepted 06/09/24, 19:26 -
Garvin Hicking commented 06/10/24, 19:35
Should be adressed via https://github.com/TYPO3/Fluid/pull/859
Hope we’ll remember to close this ticket when it gets merged 😬
-
Simon Praetorius commented and changed status
AcceptedResolved 06/10/24, 21:02This has been fixed in Fluid Standalone and will be included in the next minor release of Fluid.
-
Benni Mack changed status
ResolvedClosed 07/09/24, 12:45
thanks for creating the issue.
can you tell if this feature request/bug report is still valid and if so what is a use case for that? hidden fields are not shown to the user, why defining as disabled?