User tests: Successful: Unsuccessful:
All fields with type=email also have a validate=email rule
This one field was missing the validation
Status | New | ⇒ | Pending |
Category | ⇒ | Administration com_contact com_redirect |
Labels |
Added:
?
|
Category | Administration com_contact com_redirect | ⇒ | Administration com_contact |
If you add a validate rule also means that the field should be required as it cannot(?) be empty. I don't know if this is the case here
@dgrammatiko no its not - test it and you will see
If you add a validate rule also means that the field should be required as it cannot(?) be empty
https://github.com/joomla/joomla-cms/blob/4.0-dev/libraries/src/Form/Rule/EmailRule.php#L54-L60
If it's not required and empty then it passes just fine
Status | Pending | ⇒ | Fixed in Code Base |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2019-07-29 10:17:56 |
Closed_By | ⇒ | wilsonge |
Thanks!
Thanks
I have tested this item✅ successfully on 41867f5
This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/25733.