Skip to content

SchemaForm Input always a string #1425

@liruohrh

Description

@liruohrh

Is your enhancement request related to a problem? Please describe

The value of the Input.tsx component in ui/src/components/SchemaForm/components/ is always a string. When writing custom plugin configuration objects, numeric properties fail to work as expected, only string properties are valid.

Describe the solution you'd like

Automatically convert the value to a number when it should be a numeric type.
Maybe It is a break change, so I submit a issue but not pr.

Describe alternatives you've considered

No alternative solutions considered yet.

Metadata

Metadata

Assignees

Labels

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions