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

Form Action Buttons not responding to onClick #34

Open
Ebtessam opened this issue May 9, 2017 · 2 comments
Open

Form Action Buttons not responding to onClick #34

Ebtessam opened this issue May 9, 2017 · 2 comments

Comments

@Ebtessam
Copy link

Ebtessam commented May 9, 2017

action.html probably missing something to handle the onClick that is passed.
e.g

        {
          type: 'actions',
          items: [
            { type: 'button',
            "style": "md-warn", title: 'Regress', onClick: () => {
              console.log('REG');
              }
            },
            { type: 'button', title: 'Advance', onClick: () => {
              console.log('ADV');
              }
            }
          ]
        },
@mnzaki
Copy link

mnzaki commented May 10, 2017

The submit.html template used for the button and submit addons is missing an ng-click on the button, like in the bootstrap decorator:

          ng-click="buttonClick($event,form)"

@brianpkelley
Copy link

@mnzaki Can confirm this solution works.

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

No branches or pull requests

3 participants