JonatasBraz
JonatasBraz
Explore posts from servers
NNuxt
Created by JonatasBraz on 10/23/2024 in #❓・help
Horizontal URadioGroup
No description
4 replies
NNuxt
Created by JonatasBraz on 8/22/2024 in #❓・help
Example of Edit Dropdown
Hey'all, i'm currently looking for a UDropdown model to use in my table. the dropdown should have edit and delete options; edit should open the edit model declared on parent and delete should call delete function also on parent. I have few experience with nuxt3/composition api, how do you aproach this situations?
<UTable
:columns="columnsTipoDocumento"
:rows="tiposDocumentos"
>


<template #st_descricao-data="{ row }">

<div class="flex items-center justify-between">
<span>{{ row.st_descricao }}</span>
<edicao-dropdown/>
</div>
</template>
</UTable>


//modal
<tipo-documento @refresh-tipo-documento="refresh_tipo_documento()" v-model:form="selectedTipoDocumento" v-model:modal-state="modalTipoDocumentoState" />
<UTable
:columns="columnsTipoDocumento"
:rows="tiposDocumentos"
>


<template #st_descricao-data="{ row }">

<div class="flex items-center justify-between">
<span>{{ row.st_descricao }}</span>
<edicao-dropdown/>
</div>
</template>
</UTable>


//modal
<tipo-documento @refresh-tipo-documento="refresh_tipo_documento()" v-model:form="selectedTipoDocumento" v-model:modal-state="modalTipoDocumentoState" />
4 replies
NNuxt
Created by JonatasBraz on 8/15/2024 in #❓・help
UModal There are no focusable elements inside the <FocusTrap />
No description
34 replies