Skip to content

Number Array not work #20

Open
Open
@royyoung388

Description

@royyoung388

Array with number not working. When I click add button, it disappeared.
Array with string works fine.

here is my json schema:

{"type":"object","properties":{"array":{"type":"array","items":{"type":"number"}}},"additionalProperties":false,"title":"test1","description":"","$id":"#/schema/test1/0.4","$schema":"https://json-schema.org/draft/2020-12/schema"}

here is ui code in Vue3:

<template>
	<jsf-shoelace .schema="schema" .data="state.data" .ui-schema="{}"></jsf-shoelace>
</template>

What I got before click:
Image
html:
Image

After click:
Image
html
Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions