Ecommerce Framework community bundle provides e-commerce functionality such as product listing and filtering, pricing, carts and checkouts for Pimcore.
### Expected behavior
Saving a Price Rule condition should not be possible when *mandatory* fields are empty.
### Actual behavior
Saving works, no error messages or indications.
### Steps to reproduce
Create a Price Rule condition with a mandatory field.
Save it.
### Code example
If this field is left empty, the condition should not be saved, preferably an error message should be displayed.
```js
{
xtype: "numberfield",
fieldLabel: "Minimum quantity",
labelWidth: 200,
mandatory: true,
name: "qty",
maxValue: 100000,
value: data.qty,
width: 600,
}
```
Bug Report
### Expected behavior Saving a Price Rule condition should not be possible when *mandatory* fields are empty. ### Actual behavior Saving works, no error messages or indications. ### Steps to reproduce Create a Price Rule condition with a mandatory field. Save it. ### Code example If this field is left empty, the condition should not be saved, preferably an error message should be displayed. ```js { xtype: "numberfield", fieldLabel: "Minimum quantity", labelWidth: 200, mandatory: true, name: "qty", maxValue: 100000, value: data.qty, width: 600, } ```