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

btnClass not showing #20

Open
elmurci opened this issue Mar 18, 2013 · 1 comment
Open

btnClass not showing #20

elmurci opened this issue Mar 18, 2013 · 1 comment

Comments

@elmurci
Copy link

elmurci commented Mar 18, 2013

Hi,

Whenever I try to assign a css class to a certain button it is not working.

buttons: [
{id: 0, label: 'Cancel', val: 'Y', btnClass: 'bs1'},
{id: 1, label: 'Confirm', val: 'N', btnClass: 'bs2'}
]

This is the code generated by messi.js

Cancel

Any ideas?

@figfig
Copy link

figfig commented Jun 19, 2013

Took me a while to work this out but if you look at the script it is looking for _class (not btnClass)

so :
{id: 0, label: 'Cancel', val: 'Y', _class: 'bs1'},

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

2 participants