Skip to content

field value type number gets overriden #116

Open
@diogoeira2

Description

On your stackblitz example (and on my test app), if a field (type number) is set with: 20230302175510297 it changes to 20230302175510296.

my schema:
this.editorOptions.schema = {
definitions: {},
$schema: 'http://json-schema.org/draft-07/schema#',
$id: '#/randomNumber',
type: 'object',
title: 'SimulationParameter Attributes Fix eventNumber',
properties: {
eventNumber: {
$id: '#/properties/eventNumber/randomNumber',
type: 'number',
title: 'Attribute eventNumber',
},
}};

I guess it's mistaking the field type and parsing it has datetime.

Thank you

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions