A simple component to edit a model inside a dialog
$ component install mikanda/model-edit-dialog
Create a new instance.
The param model
must be a instance of component/model,
form
is the dom element of the form containing which will be displayed inside the dialog.
The object lang
is optional and can override the default language.
{
save: 'save',
cancel: 'cancel',
title: 'Edit model'
}
LGPLv3