We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 55639f5 commit dd89ff3Copy full SHA for dd89ff3
1 file changed
adminforth/spa/src/afcl/Input.vue
@@ -1,6 +1,6 @@
1
<template>
2
3
- <div class="flex z-0" :class="{'opacity-50' : readonly}">
+ <div class="afcl-input flex z-0 relative" :class="{'opacity-50' : readonly}">
4
<span
5
v-if="$slots.prefix || prefix"
6
class="inline-flex items-center px-3 text-sm text-gray-900 bg-gray-200 border border-s-0 border-gray-300 rounded-s-md dark:bg-gray-600 dark:text-gray-400 dark:border-gray-600">
@@ -21,7 +21,9 @@
21
:disabled="readonly"
22
>
23
24
-
+ <div v-if="$slots.rightIcon" class="absolute inset-y-0 right-0 pr-3 flex items-center">
25
+ <slot name="rightIcon" />
26
+ </div>
27
28
v-if="$slots.suffix || suffix"
29
class="inline-flex items-center px-3 text-sm text-gray-900 bg-gray-200 border border-s-0 border-gray-300 rounded-e-md dark:bg-gray-600 dark:text-gray-400 dark:border-gray-600 ">
0 commit comments