Skip to content

Instantly share code, notes, and snippets.

@pocky
Last active December 24, 2015 02:19
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save pocky/6730286 to your computer and use it in GitHub Desktop.
Save pocky/6730286 to your computer and use it in GitHub Desktop.
Bug inside ?
tick:
child:
age:
label: Age de l'enfant
choices:
2: De 0 à 2 ans
310: De 3 à 10 ans
# Output -> Age de l'enfant
# Output -> De 0 à 2 ans
# Output -> De 3 à 10 ans
tick:
child:
age:
label: Age de l'enfant
choices:
02: De 0 à 2 ans
310: De 3 à 10 ans
# Output -> Age de l'enfant
# Output -> tick.child.age.choices.02
# Output -> De 3 à 10 ans
@egeloen
Copy link

egeloen commented Sep 27, 2013

Do you try with "tick.child.choices.2"? Maybe it cast it to an integer.

@egeloen
Copy link

egeloen commented Sep 27, 2013

If yes, you should use:

tick:
    child:
        age:
            label: Age de l'enfant
            choices:
                "02": De 0 à 2 ans
                310: De 3 à 10 ans

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment