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

default option for select boxes #52

Closed
chrisbutler opened this issue Dec 15, 2013 · 1 comment
Closed

default option for select boxes #52

chrisbutler opened this issue Dec 15, 2013 · 1 comment

Comments

@chrisbutler
Copy link
Contributor

Im trying to set up a true/false select box that defaults to 'true'... is this possible?

Alternatively I could invert all my logic (since it seems that select boxes always default to false)... but is there an option or approach that I missed?

@aldeed
Copy link
Collaborator

aldeed commented Dec 17, 2013

Add value="true" attribute

{{afFieldInput 'selectBoolean' select="true" trueLabel="Yes" falseLabel="No" value="true"}}

@aldeed aldeed closed this as completed Dec 30, 2013
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