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

Translate True/False value in Boolean field #63

Closed
beliolfa opened this issue Aug 23, 2018 · 4 comments
Closed

Translate True/False value in Boolean field #63

beliolfa opened this issue Aug 23, 2018 · 4 comments

Comments

@beliolfa
Copy link

Is there a way to translate that value in the details view?

image

@fat4lix
Copy link

fat4lix commented Aug 23, 2018

Yes, you can.
Boolean::make('Active')
->trueValue('On')
->falseValue('Off');

@beliolfa
Copy link
Author

I’ve tried that but doesn’t work. As I read in documentation is for setting the value in case you are not using true, false, 0 or 1

@themsaid
Copy link
Member

Ok we're changing this in the upcoming release.

@zachgarcia1
Copy link

Has this been updated? i still can't seem to affect the true false values of my boolean field.

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

4 participants