Bug #42947
TextareaViewHelper is missing required attribute for html5
Status: | Rejected | Start date: | 2012-11-14 | |
---|---|---|---|---|
Priority: | Won't have this time | Due date: | ||
Assigned To: | Adrian Föder | % Done: | 0% |
|
Category: | ViewHelpers | |||
Target version: | - | |||
Has patch: | No | Affected Flow version: | FLOW3 1.1.0 |
Description
Hi,
the required attribute is missing in the TextareaViewHelper, which is important for client-side validation for modern browsers / and polyfill fallbacks if using webshim libs.
Would be great to have,
Regards,
Dominic
Related issues
History
#1 Updated by Adrian Föder over 2 years ago
- Status changed from New to Rejected
- Priority changed from Should have to Won't have this time
Hi Dominic,
at this time, you are able to use the "additionalAttributes" argument, for example<f:foo class="bar" additionalAttributes="{required: 'required'}" />
.
Feel free to ask back if something is not clear yet :)
(edited since I confused two issues)
#2 Updated by Adrian Föder over 2 years ago
- Status changed from Rejected to New
- Priority changed from Won't have this time to -- undefined --
#3 Updated by Adrian Föder over 2 years ago
- Category set to ViewHelpers
- Status changed from New to Rejected
- Assigned To set to Adrian Föder
- Priority changed from -- undefined -- to Won't have this time
I thought I remember an issue specifically affecting the required thingie; but I'm not sure. So far I still think "additionalArguments" should be the way to go.
#4 Updated by Christian Knuth 4 months ago
this is so bad. it's developer unfriendly and not intuitive. Any reason why unknown attributes are not passed-through?