Describe the bug
The 'required' and 'pattern' for custom widgets is not working.
It shouldn't allow to save the updates if all required fields are not filled.
To Reproduce
Create a custom widget using CMS.registerEditorComponent
Set a field as required: true
Insert the widget inside the markdown and don't fill the required field
Describe the bug The 'required' and 'pattern' for custom widgets is not working. It shouldn't allow to save the updates if all required fields are not filled.![image](https://github.com/decaporg/decap-cms/assets/13559642/a8c2e18b-e9e1-4222-8b50-793db962c1fa)
To Reproduce
window.CMS.registerEditorComponent({ id: 'collection', label: 'Collection', collapsed: true, fields: [ { label: 'Cards', name: 'cards', widget: 'list', fields: [ { label: 'Title', name: 'title', widget: 'string', required: true, }, ]
Expected behavior Won't allow save the updates since the field is mandatory.
Applicable Versions: