appwrite / appwrite/console

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

Aperta
#461 4 commenti 0 reazioni 0 assegnatari Vedi su GitHub
bug
Lingua principale
Svelte
Stelle
393
Fork
260
Merge medio
6h 53m
PR unite (30g)
24

Descrizione

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

Guida per i contributori

Apri la guida per i contributori

Direzione di ricerca

Inizia da Appwrite database > collection > attributes > create attribute e verifica come vengono presentate le opzioni required e array. Riproduci il comportamento attuale di scelta esclusiva, quindi conferma che la schermata consenta di usare entrambe le opzioni insieme e che la configurazione dell’attributo risultante venga accettata.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Valutazione

Ambito
frontend
Tipo di issue
Bug
Difficoltà
3/5
Tempo stimato
1-2 giorni
Stato di attività
Ferma
Chiarezza
Abbastanza chiara
Idoneità per principianti
42/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.