JonathanDoerfler
size prop from FormGroup not passed down via app.config?
Hello together,
I'm using Nuxt UI and have the following page:
and in
app.config.ts
:
But the rendered UInput has still size md
- doese anybody else have the same problem?
Thanks in advance!1 replies
UModal necessary when programmatically using UModals?
Hey there
I am currently struggling to find a use case, why one should use
<UModal>
when using <UModals>
and useModal()
programmatically. Am I just blind or did I really find a way to make the codebase a little neater? 🙈
In my case, I have a component that shows a form (let's call it MyForm
). On another page, I want to open the same form within an modal. For now, I would have to create a new component NewComp
only consisting of <template><UModal><MyForm></UModal></template>
. I would prefer calling useModal().open(MyForm)
instead of useModal().open(NewComp)
- the code should already know that I want to open a modal?1 replies