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

dform miniMenu could take a "submit" property #12

Open
smithfarm opened this issue Sep 25, 2016 · 0 comments
Open

dform miniMenu could take a "submit" property #12

smithfarm opened this issue Sep 25, 2016 · 0 comments
Assignees
Labels

Comments

@smithfarm
Copy link
Owner

smithfarm commented Sep 25, 2016

Some dforms may not need a miniMenu at all. If the miniMenu object contains a lone "submit" property, only a submit button is displayed and hitting enter on the last entry will also cause the form to be submitted. The value of the "submit" property would be interpreted as a target to pull and start. E.g.:

target.push('formFoo', {
    'name': 'formFoo',
    'type': 'dform',
    ...
    'miniMenu': {
        'submit': 'fooAction'
    }
});
@smithfarm smithfarm self-assigned this Sep 25, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant