Bug #39918
Missing required attribute in textarea HTML
| Status: | Rejected | Start date: | 2012-08-18 | ||
|---|---|---|---|---|---|
| Priority: | Could have | Due date: | |||
| Assignee: | ian no-lastname-given | % Done: | 10% |
||
| Category: | Frontend Plugin | ||||
| Target version: | 2.x | ||||
| Votes: | 0 |
History
Updated by Alex Kellner 9 months ago
- Category set to Frontend Plugin
- Status changed from New to Under Review
- Assignee set to Alex Kellner
- Priority changed from Should have to Could have
- Target version set to 2.x
Updated by Alex Kellner 9 months ago
- Status changed from Under Review to Needs Feedback
- Assignee changed from Alex Kellner to ian no-lastname-given
- % Done changed from 0 to 10
What does this mean?
When is the error viewable?
Do you have a screenshot?
Updated by ian no-lastname-given 9 months ago
If I set a field of type textarea and I set it as mandatory in the BE then the FE HTML misses the attribute "required".
I get:
<textarea name="tx_powermail_pi1[field][5]" id="powermail_field_" class="powermail_field powermail_textarea validate[required]" cols="20" rows="5"></textarea>
but should be:
<textarea name="tx_powermail_pi1[field][5]" id="powermail_field_" class="powermail_field powermail_textarea validate[required]" cols="20" rows="5" required="required"></textarea>
Updated by Alex Kellner 9 months ago
- Status changed from Needs Feedback to Rejected
Ian,
in Fluid there is no required Attribute available for textarea viewhelpers
Alex
Updated by ian no-lastname-given 9 months ago
"required" is an HTML5 attribute
http://www.w3schools.com/html5/att_input_required.asp
I don't get how Fluid connect with an HTML attribute (I never used extbase+fluid). Do you mean that this is a Fluid bug?
Updated by Alex Kellner 9 months ago
I would say this is a missing feature and related to Fluid