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

Bug: hyphens in key names break forms inside arrays #41

Closed
mike-marcacci opened this issue Jul 24, 2014 · 1 comment
Closed

Bug: hyphens in key names break forms inside arrays #41

mike-marcacci opened this issue Jul 24, 2014 · 1 comment

Comments

@mike-marcacci
Copy link
Contributor

This is actually an issue with writing angular references in dot notation (see this SO question).

To see the bug in action, open up the example page and use:

Form

[
  "*"
]

Schema

{
  "type": "object",
  "title": "Names",
  "properties": {
    "buggy-names": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "name": {
            "title": "Name",
            "type": "string"
          }
        }
      }
    }
  }
}

Changing buggy-names to names fixes it.

@davidlgj davidlgj added the bug label Jul 24, 2014
@davidlgj
Copy link
Contributor

Ouch, that is not so good. Probably a bug in Select.js

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

No branches or pull requests

2 participants