File tree Expand file tree Collapse file tree 9 files changed +10
-10
lines changed
organization-[organization]
project-[region]-[project]
messaging/create-[type]/(type) Expand file tree Collapse file tree 9 files changed +10
-10
lines changed Original file line number Diff line number Diff line change 16
16
<InputTextarea
17
17
required
18
18
id =" feedback"
19
- autofocus
19
+ autofocus ={ true }
20
20
bind:value ={$feedbackData .message }
21
21
label =" Tell us more about your experience"
22
22
placeholder =" Share your suggestions and feature requests..." />
Original file line number Diff line number Diff line change 26
26
name: string ,
27
27
error: string ,
28
28
role: string = isSelfHosted ? ' owner' : ' developer' ;
29
- emailInput : HTMLInputElement ;
29
+ emailInput : HTMLInputElement ;
30
30
31
31
async function create() {
32
32
try {
Original file line number Diff line number Diff line change 60
60
</Layout .Stack >
61
61
<Layout .Stack direction =" row" alignItems =" center" justifyContent =" flex-end" >
62
62
<ViewSelector view ={View .Table } {columns } hideView />
63
- <Button on:mousedown ={() => ($showCreateUser = true )} event =" create_user" size =" s" >
63
+ <Button on:click ={() => ($showCreateUser = true )} event =" create_user" size =" s" >
64
64
<Icon size ="s" icon ={IconPlus } slot =" start" />
65
65
<span class =" text" >Create user</span >
66
66
</Button >
173
173
href =" https://appwrite.io/docs/references/cloud/server-nodejs/users"
174
174
target =" user"
175
175
allowCreate ={$canWriteUsers }
176
- on:mousedown ={() => showCreateUser .set (true )} />
176
+ on:click ={() => showCreateUser .set (true )} />
177
177
{/if }
178
178
</Container >
179
179
Original file line number Diff line number Diff line change 56
56
</script >
57
57
58
58
<Modal title ="Create user" {error } bind:show ={showCreate } onSubmit ={create }>
59
- <InputText autofocus id ="name" label ="Name" placeholder ="Enter name" bind:value ={name } />
59
+ <InputText autofocus ={ true } id ="name" label ="Name" placeholder ="Enter name" bind:value ={name } />
60
60
<InputEmail id ="email" label ="Email" placeholder ="Enter email" bind:value ={mail } />
61
61
<InputPhone id ="phone" label ="Phone" placeholder ="Enter phone" bind:value ={phone } />
62
62
<InputPassword id ="password" label ="Password" placeholder ="Enter password" bind:value ={pass } />
Original file line number Diff line number Diff line change 106
106
id =" subject"
107
107
label =" Subject"
108
108
required
109
+ autofocus ={true }
109
110
placeholder =" Enter subject"
110
111
bind:value ={subject }>
111
112
</InputText >
Original file line number Diff line number Diff line change 116
116
id =" title"
117
117
label =" Title"
118
118
required
119
+ autofocus ={true }
119
120
placeholder =" Enter title"
120
121
bind:value ={title }>
121
122
</InputText >
Original file line number Diff line number Diff line change 96
96
id =" message"
97
97
label =" Message"
98
98
required
99
+ autofocus ={true }
99
100
maxlength ={900 }
100
101
placeholder =" Type here..."
101
102
bind:value ={content }>
Original file line number Diff line number Diff line change 44
44
hideColumns ={! data .buckets .total }
45
45
hideView ={! data .buckets .total } />
46
46
{#if $canWriteBuckets }
47
- <Button
48
- on:mousedown ={() => ($showCreateBucket = true )}
49
- event =" create_bucket"
50
- size =" s" >
47
+ <Button on:click ={() => ($showCreateBucket = true )} event =" create_bucket" size =" s" >
51
48
<Icon icon ={IconPlus } slot =" start" size =" s" />
52
49
Create bucket
53
50
</Button >
Original file line number Diff line number Diff line change 55
55
label =" Name"
56
56
placeholder =" New bucket"
57
57
bind:value ={name }
58
- autofocus
58
+ autofocus ={ true }
59
59
required />
60
60
61
61
{#if ! showCustomId }
You can’t perform that action at this time.
0 commit comments