Skip to content

Commit

Permalink
Issue 82: attributes added to input tag
Browse files Browse the repository at this point in the history
The input tag of component will now inherit html attributes like id, name etc.
  • Loading branch information
yogeshGroony committed Jan 23, 2024
1 parent 0ac4b32 commit f379285
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/components/datepicker/DateInput.vue
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@
/>
</span>
<input
v-bind="$attr"
:type="inline ? 'hidden' : 'text'"
:class="computedInputClass"
:name="name"
Expand Down
1 change: 1 addition & 0 deletions src/components/datepicker/DatePickerComponent.vue
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
}"
>
<date-input
v-bind="$attr"
:selectedDate="selectedDate"
:resetTypedDate="resetTypedDate"
:format="format"
Expand Down

0 comments on commit f379285

Please sign in to comment.