I am trying to create required enum attribute but unable to-
its stuck on select a value
I wasn't able to reproduce it What version of Appwrite you're using?
In the current version the dialog is a bit different
Got it I made a mistake I though it's an old version when it's actually the latest one My bad
It's seems like when you mark the Required field as required its also applied to the Default value one.
<Enum
id="default"
label="Default value"
attribute={{
key: data.key,
type: 'string',
status: 'enabled',
format: 'enum',
elements: data.elements ?? [],
required: data.required,
default: data.default
}}
bind:value={data.default} />
<InputChoice id="required" label="Required" bind:value={data.required} disabled={data.array}>
Indicate whether this is a required attribute
</InputChoice>
oh
for now imma create an integer attribute
since its a difficulty attribute and i think 0,1,2 will do instead of easy, medium and hard xd
Yes for now that's seems right
Although I have some idea, Let me check
I think this is the related issue: https://github.com/appwrite/appwrite/issues/5391
Okay, I've upgrade my Appwrite to 1.3.1
You can do this as a workaround till the bug is fixed.
What I'm doing I just deleted the select element
And the request worked as it doesn't really need the select value when required.
I've mentioned it in the Console issues https://github.com/appwrite/console/issues/412
ah nice one
Is it okay if we just use the appwrite issue and close the console one?
Sure thing
Recommended threads
- Weird Query Error
In next js I am getting this error in the image ```js queries: [ Query.equal('title', TitleId), Query.limit(10) ] ``` am I doing something...
- Many2Many loading, not receiving list
Hi everyone! Im having a bit of trouble while editing single rows in the DB. When selecting a value of my many2many it keeps loading, see screenshot. On some ...
- Appwrite Python SDK Keeps returning the ...
So I have a couple services, one is a scheduling engine responsible for fetching data from a database and launching a containerized micro service to process tha...