feat: Passa una collection al setter custom

This commit is contained in:
Maicol Battistini 2022-01-03 20:04:38 +01:00
parent bc76c3c833
commit 63fc865f3c
No known key found for this signature in database
GPG Key ID: 4FDB0F87CDB1D34A
1 changed files with 1 additions and 1 deletions

View File

@ -294,7 +294,7 @@ export class RecordsPage extends Page {
const instance: Model = new this.model();
if (this.customSetter) {
this.customSetter(instance, getFormData(form));
this.customSetter(instance, collect(getFormData(form)));
} else {
const fields = form.find('text-field, text-area, material-select');
fields.filter(this.fieldsPrecedence.map(value => `#${value}`).join(', '))