Pass Through
Data
{ "name": "Some Text in Green", "name2": "Some Text in Red", "slots": {} }
[
0
:
{
$formkit
:
primeInputText
name
:
name
label
:
PassThrough with style
pt
:
{
root
:
{
style
:
font-weight: 600;color: green;
}
}
}
1
:
{
$formkit
:
primeInputText
name
:
name2
label
:
PassThrough with tailwind like style class
pt
:
{
root
:
{
class
:
!text-red-500
}
}
}
]
{
name
:
Some Text in Green
name2
:
Some Text in Red
slots
:
{
}
}
Formkit (1.6) - PrimeVue (4.2.x) - FormKit-PrimeVue-Version 2.8.2 - sfxcode 2024