Is there anything like
form.getForm().createRecord();
because there is form.getForm().updateRecord([record]);
I don’t want form.getForm().submit() because I have to specify url attribute but when I use .updateRecord it uses store:
api: {
create: 'link',
update: 'link',
delete: 'link',
destroy: 'link',
}
Is there anything like .updateRecord() but for creating new record, not updating?
If you want to create a record you can just instantiate your model and add it to your store, then sync it.