File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -17,9 +17,9 @@ function hasRightIcon() {
1717function spanClass() {
1818 let result = ' '
1919 if (hasLeftIcon ())
20- result = ` ${result }p-input-icon-left `
20+ result = ` p-formkit-icon ${result }p-input-icon-left `
2121 if (hasRightIcon ())
22- result = ` ${result }p-input-icon-right `
22+ result = ` p-formkit-icon ${result }p-input-icon-right `
2323 return result
2424}
2525
@@ -36,8 +36,8 @@ const styleClass = computed(() => (context?.state.validationVisible && !context?
3636
3737<template >
3838 <div class =" p-formkit" >
39- <span class = " p-formkit-icon " :class =" spanClass()" >
40- <i v-if =" hasLeftIcon()" :class =" context.iconLeft" />
39+ <span :class =" spanClass()" >
40+ <i v-if =" hasLeftIcon()" :class =" context? .iconLeft" />
4141
4242 <InputText
4343 :id =" context.id"
@@ -56,7 +56,7 @@ const styleClass = computed(() => (context?.state.validationVisible && !context?
5656 @input =" handleInput"
5757 @blur =" handleBlur"
5858 />
59- <i v-if =" hasRightIcon" :class =" context.iconRight" />
59+ <i v-if =" hasRightIcon() " :class =" context? .iconRight" />
6060 </span >
6161 </div >
6262</template >
You can’t perform that action at this time.
0 commit comments