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

Edit document null attribute doesn't work #33

Open
creharmony opened this issue Jun 18, 2022 · 0 comments
Open

Edit document null attribute doesn't work #33

creharmony opened this issue Jun 18, 2022 · 0 comments

Comments

@creharmony
Copy link

Hi @SamuelTallet

Starting from a find on a given collection, I got a json document as result.

If a given attribute has a value ; ex. name : Joe: by clicking on joe I can update the value and this works well.

but if a given attribute has a null value ; ex. name : null: by clicking on null I cant update the value and this produces following JavaScript console logs:

VM74:1 Uncaught SyntaxError: Unexpected token d in JSON at position 0
    at JSON.parse (<anonymous>)
    at MPG.helpers.convertStringToAny (queryDatabase.js:152:64)
    at HTMLDivElement.<anonymous> (queryDatabase.js:508:49)

image

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

1 participant