Skip to content
This repository was archived by the owner on Jul 28, 2021. It is now read-only.
This repository was archived by the owner on Jul 28, 2021. It is now read-only.

Can not create plugin with null #19

@ZaykaNya

Description

@ZaykaNya

Describe the bug 👀

Can not create plugin with null.

Example of array with null:

[{
"id": 1,
"type": "string",
"name": "pathToBlender",
"label": "Path to Blender",
"default": " ",
"min": 1,
"max": null
}, {
"id": 2,
"type": "integer",
"name": "numberOfThreads",
"label": "Number of Threads",
"default": 0,
"min": 0,
"max": 64
}, {
"id": 3,
"type": "integer",
"name": "resolutionX",
"label": "Resolution X",
"default": 1920,
"min": 0,
"max": 1920
}, {
"id": 4,
"type": "integer",
"name": "resolutionY",
"label": "Resolution Y",
"default": 1080,
"min": 0,
"max": 1080
}];

How to reproduce 🏃:

  1. Go to http://localhost:3000/plugin/create
  2. Fill in fields with "null" in one of them.
  3. Click on "Save" button.

Expected behavior 🙌

Possibility to create plugin with null in fiedls.

Screenshots ✨

image
image

System information

Desktop 💻:

  • OS: [e.g. iOS]
  • Browser [e.g. chrome, safari]
  • Version [e.g. 22]

Smartphone 📱:

  • Device: [e.g. iPhone6]
  • OS: [e.g. iOS8.1]
  • Browser [e.g. stock browser, safari]
  • Version [e.g. 22]

Additional context 🌞

Metadata

Metadata

Assignees

Labels

bugSomething isn't workinginvalidThis doesn't seem right

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions