Replies: 3 comments 2 replies
-
There is already a suffix slot for that: <FormKit
type="number"
help="What temperature should the house be?"
label="Thermostat"
name="temperature"
suffix-icon="search"
value="25"
step="1"
>
<template #suffix>C</template>
<FormKit /> |
Beta Was this translation helpful? Give feedback.
-
Thanks for pointing out slots. For me it's a bit confusing at the moment whether something is an attribute or a slot. Is it perhaps possible to clarify this in sections?
Something like
|
Beta Was this translation helpful? Give feedback.
-
my take:
Because the |
Beta Was this translation helpful? Give feedback.
-
Add support for displaying a
suffix
behind an inputSomething like
Similar to
suffix-icon
but then fortext
Beta Was this translation helpful? Give feedback.
All reactions