Skip to content

Commit

Permalink
Fix button editor not setting icon
Browse files Browse the repository at this point in the history
  • Loading branch information
gbisurgi committed Mar 9, 2022
1 parent 9d66b3c commit 1e6a461
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/editors/button.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ export class ButtonEditor extends AbstractEditor {
}
}, this.defaults.options.button || {}, this.options.button || {}))

this.input = this.theme.getFormButton(title, options.icon, title)
this.input = this.getButton(title, options.icon, title)
this.input.addEventListener('click', options.action, false)

if (this.schema.readOnly || this.schema.readonly || this.schema.template) {
Expand Down

0 comments on commit 1e6a461

Please sign in to comment.