appwrite / appwrite/console

🐛 Bug Report: Attributes can be both required and an array

Offen
#461 4 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
bug
Vorherrschende Sprache
Svelte
Sterne
393
Forks
260
Ø Merge
5 Std. 52 Min.
Gemergte PRs (30 T.)
19

Beschreibung

### 👟 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)

Beitragsleitfaden

Beitragsleitfaden öffnen

Rechercherichtung

Beginne bei Appwrite database > collection > attributes > create attribute und prüfe, wie die Optionen required und array dargestellt werden. Reproduziere das aktuelle Entweder-oder-Verhalten und bestätige anschließend, dass der Bildschirm beide Optionen gleichzeitig zulässt und die resultierende Attributkonfiguration akzeptiert wird.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Bewertung

Bereich
frontend
Issue-Typ
Bug
Schwierigkeit
3/5
Geschätzter Aufwand
1-2 Tage
Aktivitätsstatus
Veraltet
Klarheit
Größtenteils klar
Anfängerfreundlichkeit
42/100

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.