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

Choices field doesn't work #12

Open
HellPat opened this issue Oct 15, 2015 · 4 comments
Open

Choices field doesn't work #12

HellPat opened this issue Oct 15, 2015 · 4 comments
Labels

Comments

@HellPat
Copy link

HellPat commented Oct 15, 2015

I have problems getting the choices-field to work.
It doesn't seem to work at all.

Do you have an example on how to configure it properly?

choice1:
    type: choice
        options:
              choices:
                   - One
                   - Two
@fernandocarletti
Copy link
Contributor

Your Yaml is not correctly formatted.

choice1:
    type: choice
    options:
          choices:
               - One
               - Two

The options field must be inside choice1, not type.

@HellPat
Copy link
Author

HellPat commented Oct 16, 2015

In fact this was a formatting issue when posting to github.
This is my complete file and it doesn't work.

dynamic_form:
    new_user:
        choice1:
            type: choice
            options:
                choices:
                    - One
                    - Two

@HellPat
Copy link
Author

HellPat commented Oct 22, 2015

Is this still wrong?

@stale
Copy link

stale bot commented Aug 10, 2018

This issue has been automatically marked as stale because it has not had recent activity.

@stale stale bot added the stale label Aug 10, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants