-
-
Notifications
You must be signed in to change notification settings - Fork 3.7k
Closed
Labels
Description
Steps to reproduce the issue
In order to be able to reproduce this follow the below instruction (otherwise I had to create a component that needed to be installed).
- in ./administrator/components/com_content/config.xml add the following field:
<field name="email" type="text" pattern=".*@.*\..*" label="TESTFIELD" description="" />
- in the back-end of the j4 site goto articles options
- leave the TESTFIELD empty
- click [save] button
Expected result
Configuration should save (TESTFIELD is empty and NOT required)
Actual result
save action throws error:
The form cannot be submitted as it's missing required data.
Please correct the marked fields and try again.
System information (as much as possible)
J4 dev 8 (nightly)
PHP 8.05
mysql 8.0.25
Additional comments
saving with this field and (empty) value works correct in J3
