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

Feature request: form block argument names #29

Open
steph643 opened this issue Jan 29, 2015 · 0 comments
Open

Feature request: form block argument names #29

steph643 opened this issue Jan 29, 2015 · 0 comments

Comments

@steph643
Copy link

This request has been brought up in #24 and makes sense only if you decide to keep the three distinct arguments of a form block.

I suggest renaming form block arguments from data, action and schema to formData, formAction and formSchema. This would allow to distinguish between user-defined and package arguments.

Example in my code (before/after):

<template name="editProfile">
    {{#bootstrapModal title=th_modalTitle schema=th_schema data=projectUser action=th_submitFunction}}
        ...
    {{/bootstrapModal}}
</template>
<template name="editProfile">
    {{#bootstrapModal title=th_modalTitle formSchema=th_schema formData=projectUser formAction=th_submitFunction}}
        ...
    {{/bootstrapModal}}
</template>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants