Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

field value type number gets overriden #116

Open
diogoeira2 opened this issue Mar 13, 2023 · 1 comment
Open

field value type number gets overriden #116

diogoeira2 opened this issue Mar 13, 2023 · 1 comment

Comments

@diogoeira2
Copy link

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

@mariohmol
Copy link
Owner

any ideas on where is the problem? thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants