fixed "view coc" button causing application submit
This commit is contained in:
@@ -299,7 +299,7 @@ async function onDialogToggle(state: boolean) {
|
|||||||
<div class="flex items-center gap-2">
|
<div class="flex items-center gap-2">
|
||||||
<Checkbox :model-value="value" @update:model-value="handleChange" :disabled="readOnly" />
|
<Checkbox :model-value="value" @update:model-value="handleChange" :disabled="readOnly" />
|
||||||
<span>By checking this box, you accept the <Button variant="link" class="p-0 h-min"
|
<span>By checking this box, you accept the <Button variant="link" class="p-0 h-min"
|
||||||
@click="showCoC = true">Code of
|
@click.prevent.stop="showCoC = true">Code of
|
||||||
Conduct</Button>.</span>
|
Conduct</Button>.</span>
|
||||||
</div>
|
</div>
|
||||||
</FormControl>
|
</FormControl>
|
||||||
@@ -310,7 +310,7 @@ async function onDialogToggle(state: boolean) {
|
|||||||
</FormField>
|
</FormField>
|
||||||
|
|
||||||
<div class="pt-2" v-if="!readOnly">
|
<div class="pt-2" v-if="!readOnly">
|
||||||
<Button type="submit" :onClick="() => console.log('hi')" :disabled="readOnly">Submit Application</Button>
|
<Button type="submit" :disabled="readOnly">Submit Application</Button>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<Dialog :open="showCoC" @update:open="onDialogToggle">
|
<Dialog :open="showCoC" @update:open="onDialogToggle">
|
||||||
|
|||||||
Reference in New Issue
Block a user