Skip to content

Commit 2ee1f60

Browse files
committed
on input setting click start editing it
1 parent c025f2e commit 2ee1f60

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

frontend/src/components/app/settings/AccountInput.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
<h1 v-if="!edit" v-on:click="startEditing()" class="cursor-pointer text-sm text-purple-matcha">{{ buttonText }}</h1>
1414
</div>
1515
</div>
16-
<div class="break-words" v-if="!edit && type !== 'password'"><h1 class="text-md opacity-50 md:max-w-sm">{{ currentValue }}</h1></div>
16+
<div v-on:click="startEditing()" class="break-words" v-if="!edit && type !== 'password'"><h1 class="text-md opacity-50 md:max-w-sm">{{ currentValue }}</h1></div>
1717
<div v-if="edit">
1818
<ValidationProvider v-if="type === 'firstName'" name="First Name" rules="required|alpha|max:20" v-slot="{errors}">
1919
<input type="text" placeholder="First Name" v-model="currentValue" class="matcha-input md:max-w-sm">

0 commit comments

Comments
 (0)