Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

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

wants to merge 1 commit into from

Conversation

0xgeert
Copy link

@0xgeert 0xgeert commented Feb 4, 2015

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