File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change 1
1
<template >
2
2
3
- <div class =" flex z-0" :class =" {'opacity-50' : readonly}" >
3
+ <div class =" afcl-input flex z-0 relative " :class =" {'opacity-50' : readonly}" >
4
4
<span
5
5
v-if =" $slots.prefix || prefix"
6
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
21
:disabled =" readonly"
22
22
>
23
23
24
-
24
+ <div v-if =" $slots.rightIcon" class =" absolute inset-y-0 right-0 pr-3 flex items-center" >
25
+ <slot name =" rightIcon" />
26
+ </div >
25
27
<span
26
28
v-if =" $slots.suffix || suffix"
27
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 " >
You can’t perform that action at this time.
0 commit comments