Created
August 31, 2015 05:09
-
-
Save wallace7souza/c3a2908c86ead2444ebd to your computer and use it in GitHub Desktop.
AngularJS Formly multicheckbox example
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"key": "diasEmQueTrabalha", | |
"type": "multiCheckbox", | |
"templateOptions": { | |
"label": "Dias em que trabalha", | |
"labelProp":"label", | |
"valueProp":"value", | |
"required":true, | |
"options": [ | |
{ | |
"label": "Domingo", | |
"value": "0" | |
}, | |
{ | |
"label": "Segunda", | |
"value": "1" | |
}, | |
{ | |
"label": "Terça", | |
"value": "2" | |
}, | |
{ | |
"label": "Quarta", | |
"value": "3" | |
}, | |
{ | |
"label": "Quinta", | |
"value": "4" | |
}, | |
{ | |
"label": "Sexta", | |
"value": "5" | |
}, | |
{ | |
"label": "Sábado", | |
"value": "6" | |
} | |
] | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment