You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
With a modal when it opens the first button present is selected. Is there a way to change selection order or prevent it completely?
In exemple below the reset button is pre-selected.
I could reorder buttons instead but I would like no pre-selections instead and prevent users' "miss-click". Thanks.
<UModalv-model="dialog" prevent-close><UCard><p>Reset data or continue?</p><divclass="flex justify-between"><UButtoncolor="gray" variant="ghost" @click="reset">
Delete current data
<UIconname="i-heroicons-x-mark-20-solid" class="text-red-600" /></UButton><UButtoncolor="gray" variant="ghost" @click="continue">
Continue
<UIconname="i-mdi-arrow-right-circle" class="text-primary" /></UButton></div></UCard></UModal>
The text was updated successfully, but these errors were encountered:
Description
Hello.
With a modal when it opens the first button present is selected. Is there a way to change selection order or prevent it completely?
In exemple below the reset button is pre-selected.
I could reorder buttons instead but I would like no pre-selections instead and prevent users' "miss-click". Thanks.
The text was updated successfully, but these errors were encountered: