@fy-/fws-vue 2.4.1 → 2.4.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -139,11 +139,19 @@ onUnmounted(() => {
139
139
 
140
140
  <!-- Input field -->
141
141
  <div class="mb-6">
142
+ <!-- Label uses v-html so entity-escaped strings render decoded. -->
143
+ <label
144
+ v-if="inputLabel"
145
+ for="confirmInput"
146
+ class="block mb-2 text-sm font-medium text-fv-neutral-900 dark:text-white"
147
+ :class="{ 'text-red-600 dark:text-red-400': inputError }"
148
+ v-html="inputLabel"
149
+ />
142
150
  <DefaultInput
143
151
  id="confirmInput"
144
152
  v-model="inputValue"
145
153
  type="text"
146
- :label="inputLabel"
154
+ :show-label="false"
147
155
  :placeholder="inputPlaceholder"
148
156
  :error="inputError"
149
157
  autocomplete="off"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fy-/fws-vue",
3
- "version": "2.4.1",
3
+ "version": "2.4.2",
4
4
  "author": "Florian 'Fy' Gasquez <m@fy.to>",
5
5
  "license": "MIT",
6
6
  "homepage": "https://github.com/fy-to/FWJS#readme",