Skip to content

update fieldset.js: render based on schema.fields#448

Open
geertbrit wants to merge 1 commit intopowmedia:masterfrom
geertbrit:patch-3
Open

update fieldset.js: render based on schema.fields#448
geertbrit wants to merge 1 commit intopowmedia:masterfrom
geertbrit:patch-3

Conversation

@geertbrit
Copy link
Copy Markdown

Currently Fieldset.render renders based on fieldset.fields (which is an object) instead of fieldset.schema.fields (which is an array).

Besides the suggested pull being more robust in the default case, it allows me to have some extended methods to change form/fielset/field schemas (field ordening among one) and have form.render correctly reflect the updated schemas.

Currently `Fieldset.render` renders based on `fieldset.fields` (which is an object) instead of `fieldset.schema.fields` (which is an array).

Besides the suggested pull being more robust in the default case, it allows me to have some extended methods to change form/fielset/field schemas (field ordening among one) and have form.render correctly reflect the updated schemas.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant