Skip to content

In browsable API unselecting the checkbox for a boolean field doesn't update the field, but using raw data does update the field #8762

Open
@piotrsynowiec

Description

@piotrsynowiec

I noticed that when I unselect the boolean field that was already True to set it to False via browsable API – the field doesn't update.

Here's an example:
https://capture.dropbox.com/k3xcrwjBS9aK4fVT

After unselecting "invoiced" and clicking PUT, the data stays the same (I edited the price value too):
https://capture.dropbox.com/bT46reH9ushS8nge

But when I edit the RAW data text field:
https://capture.dropbox.com/pDYjaAHHsvNqE79K

The value gets updated:
https://capture.dropbox.com/mC9UwhQBLrt1yEOE

It works on all of my endpoints the same way. I wonder if this is a bug or if I am doing something wrong.

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