appwrite / appwrite/console

🐛 Bug Report: Collection attributes: Enum elements update without clicking "update"

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

Description

### 👟 Reproduction steps

1. go to a collection in the DB
2. create an enum attribute
3. give it 2 elements: `a` and `b`
4. add element `c` and then click cancel, click the Enum and you see it has `c` in elements
5. click to remove `c` and then click cancel, click the Enum and you see that `c` has been deleted from elements

### 👍 Expected behavior

When I click cancel everything should return to what it was before I clicked to edit the Enum

### 👎 Actual Behavior

Clicking cancel doesn't cancel enum elements updates

### 🎲 Appwrite version

Appwrite Cloud

### 💻 Operating system

Linux

### 🧱 Your Environment

Appwrite Cloud on Brave browser

### 👀 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.