Skip to content

Edit document null attribute doesn't work #33

@creharmony

Description

@creharmony

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

Metadata

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