nz-schema-form icon indicating copy to clipboard operation
nz-schema-form copied to clipboard

Fixed schema support issue

Open vellengs opened this issue 6 years ago • 0 comments

schema.properties can be empty. for example:

      "dateArrayRange": {
            "type": "array",
            "items": {
                "type": "string"
            },
            "title": "日期范围",
            "default": [
                "2018-01-02",
                "2018-02-03"
            ],
            "widget": {
                "id": "date-range",
                "format": "YYYY-MM-DD"
            }
        }

the schema is only part of

 {
                "type": "string"
 }

PR Checklist

Please check if your PR fulfills the following requirements:

  • [ ] The commit message follows our guidelines: https://github.com/cipchk/nz-schema-form/blob/master/CONTRIBUTING.md#commit
  • [ ] Tests for the changes have been added (for bug fixes / features)
  • [ ] Docs have been added / updated (for bug fixes / features)

PR Type

What kind of change does this PR introduce?

[ ] Bugfix
[ ] Feature
[ ] Code style update (formatting, local variables)
[ ] Refactoring (no functional changes, no api changes)
[ ] Build related changes
[ ] CI related changes
[ ] Documentation content changes
[ ] Application (the showcase website) / infrastructure changes
[ ] Other... Please describe:

What is the current behavior?

Issue Number: N/A

What is the new behavior?

Does this PR introduce a breaking change?

[ ] Yes
[ ] No

Other information

vellengs avatar Mar 17 '18 06:03 vellengs