I've been facing issue with saving date field value.
I've added custom date field in sales_rule form , Field is added but can't able to save its value to DB.
Previously i added text field and its working fine but I am having issues for date and MultiSelect input.
Vendor/Module/adminhtml/ui_component/sales_rule_form.xml
<field name="end_date" formElement="date">
<argument name="data" xsi:type="array">
<item name="config" xsi:type="array">
<item name="source" xsi:type="string">sales_rule</item>
</item>
</argument>
<settings>
<validation>
<rule name="validate-date" xsi:type="boolean">true</rule>
</validation>
<dataType>text</dataType>
<label translate="true">End Date</label>
<visible>true</visible>
<dataScope>end_date</dataScope>
</settings>
</field>
<field name="brand_ids" formElement="multiselect">
<argument name="data" xsi:type="array">
<item name="config" xsi:type="array">
<item name="source" xsi:type="string">sales_rule</item>
</item>
</argument>
<settings>
<validation>
<rule name="validate-brands" xsi:type="boolean">true</rule>
</validation>
<dataType>number</dataType>
<label translate="true">Brand List</label>
<dataScope>brand_ids</dataScope>
</settings>
<formElements>
<multiselect>
<settings>
<options class="Vivek\ShopAsGroup\Block\SalesRule\BrandList"/>
</settings>
</multiselect>
</formElements>
</field>
What is missing ? Any suggestion would be really helpful to me.
Thanks in Advance.