-
Task
-
Resolution: Unresolved
-
Optional
-
None
-
None
-
None
-
False
-
None
-
False
-
Not Started
-
Not Started
-
Not Started
-
Not Started
-
Not Started
-
Not Started
-
-
Formastic is able to identify required attributes and they are marked with the red asterisk. However, this means nothing html-wise and it's still necessary to pass
{{input_html: { required: true }}} to the field.
PatternflyInputInput so that it automatically includes required="required".
HEADS UP: currently forms with required fields can be submitted empty and the server then returns inline errors for them. By adding HTML attribute required="required", many tests will fail. Forms with unfilled required fields should have their submit button disabled... but this is not supported natively and it would require JS, which is bad. When cucumber try to submit an incomplete form, it will just do nothing and no error will pop up from cucumber's perspective.