🐛 Bug Report: Collection attributes: Enum elements update without clicking "update"
- 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
Assessment
This issue has not been assessed yet.