angular-schema-form-material
angular-schema-form-material copied to clipboard
Form Action Buttons not responding to onClick
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');
}
}
]
},
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)"
@mnzaki Can confirm this solution works.