mirror of
https://github.com/devcode-it/openstamanager.git
synced 2025-02-24 07:17:55 +01:00
feat: ✨ Passa una collection al setter custom
This commit is contained in:
parent
bc76c3c833
commit
63fc865f3c
@ -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(', '))
|
||||
|
Loading…
x
Reference in New Issue
Block a user