Skip to content

Commit

Permalink
fix(BaseInput): fix classes bindings
Browse files Browse the repository at this point in the history
  • Loading branch information
driss-chelouati committed Feb 22, 2024
1 parent 552ac8e commit 79d93f6
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions components/form/BaseInput.vue
Original file line number Diff line number Diff line change
Expand Up @@ -230,7 +230,7 @@ if (process.dev) {
"
class="nui-input-label"
:for="id"
:class="props.classes.label"
:class="props.classes?.label"
>
<slot name="label">{{ props.label }}</slot>
</label>
Expand All @@ -244,7 +244,7 @@ if (process.dev) {
:type="props.type"
v-bind="$attrs"
class="nui-input"
:class="props.classes.input"
:class="props.classes?.input"
:placeholder="placeholder"
/>
<input
Expand All @@ -255,7 +255,7 @@ if (process.dev) {
:type="props.type"
v-bind="$attrs"
class="nui-input"
:class="props.classes.input"
:class="props.classes?.input"
:placeholder="placeholder"
/>
<label
Expand All @@ -265,7 +265,7 @@ if (process.dev) {
"
class="nui-label-float"
:for="id"
:class="props.classes.label"
:class="props.classes?.label"
>
<slot name="label">{{ props.label }}</slot>
</label>
Expand All @@ -275,7 +275,7 @@ if (process.dev) {
<div
v-if="props.icon"
class="nui-input-icon"
:class="props.classes.icon"
:class="props.classes?.icon"
>
<slot name="icon">
<Icon :name="props.icon" class="nui-input-icon-inner" />
Expand Down

0 comments on commit 79d93f6

Please sign in to comment.