appwrite / appwrite/console

๐Ÿ› Bug Report: Attributes can be both required and an array

Open
#461 4 comments 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

Appwrite database > collection > attributes > create attribute

### ๐Ÿ‘ Expected behavior

In some cases it might be possible that a user wants to create an attribute that is both an array and also required, so making it an either-or case is not nice IMO.

### ๐Ÿ‘Ž Actual Behavior

Currently it just allows u to choose one:

![Screenshot 2023-06-05 220148](https://github.com/appwrite/console/assets/55504616/1dd881f3-c46b-433f-8755-b57a805af089)

### ๐ŸŽฒ Appwrite version

Appwrite Cloud

### ๐Ÿ’ป Operating system

Windows

### ๐Ÿงฑ Your Environment

_No response_

### ๐Ÿ‘€ 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.