mirror of
https://github.com/InvoiceShelf/InvoiceShelf.git
synced 2026-04-09 14:34:47 +00:00
Duplicate expense
This commit is contained in:
@@ -6,6 +6,7 @@
|
||||
static
|
||||
class="fixed inset-0 z-20 overflow-y-auto"
|
||||
:open="show"
|
||||
:initial-focus="initialFocus"
|
||||
@close="$emit('close')"
|
||||
>
|
||||
<div
|
||||
@@ -106,6 +107,14 @@ const props = defineProps({
|
||||
type: Boolean,
|
||||
default: false,
|
||||
},
|
||||
/**
|
||||
* Optional ref (template ref) for the element that should receive focus when the dialog opens.
|
||||
* When omitted, Headless UI focuses the first focusable control (often an input).
|
||||
*/
|
||||
initialFocus: {
|
||||
type: Object,
|
||||
default: null,
|
||||
},
|
||||
})
|
||||
const slots = useSlots()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user