I have created a custom order field with handle telephoneNumber.
This has been set to required in the field layout.
However when posting from the front end the field does not throw any errors when left empty.
If I enter a value it does save correctly to the cart / order so that part seems to work fine.
Steps to reproduce
Create custom order field
Set as required
Add it to the HTML with name fields[telephoneNumber]
What happened?
Description
I have created a custom order field with handle telephoneNumber. This has been set to required in the field layout. However when posting from the front end the field does not throw any errors when left empty. If I enter a value it does save correctly to the cart / order so that part seems to work fine.
Steps to reproduce
Expected behavior
The field should be validated
Actual behavior
I am able to bypass the required field
Craft CMS version
Craft CMS 5.2.3
Craft Commerce version
5.0.11.1
PHP version
8.2.17
Operating system and version
No response
Database type and version
No response
Image driver and version
No response
Installed plugins and versions
-