appwrite / appwrite/console

๐Ÿ› Bug Report: NULL and FALSE values on boolean attributes show the same when selected

Open
#2,146 2 comments 1 reaction 0 assignees View on GitHub
bug
Dominant language
Svelte
Stars
393
Forks
260
Avg merge
6h 53m
Merged PRs (30d)
24

Description

### ๐Ÿ‘Ÿ Reproduction steps

Just create a collection with a boolean attribute, and then create a document and set the boolean to false

### ๐Ÿ‘ Expected behavior

The expected thing that it should do when you click false, is that "False" should be written when selected

### ๐Ÿ‘Ž Actual Behavior

When you select false, it will appear as the value has not even been set to anything (Same thing as when it's null)

Value selected to null
Image

Value selected to False
Image

### ๐ŸŽฒ Appwrite version

Version 1.6.x

### ๐Ÿ’ป Operating system

Linux

### ๐Ÿงฑ Your Environment

I use Appwrite 1.6 on Docker in my Windows OS

I put OS to Linux because Docker uses Linux essentially

### ๐Ÿ‘€ Have you spent some time to check if this issue has been raised before?

- [x] I checked and didn't find similar issue

### ๐Ÿข Have you read the Code of Conduct?

- [x] I have read the [Code of Conduct](https://github.com/appwrite/.github/blob/main/CODE_OF_CONDUCT.md)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.