Skip to content

Commit

Permalink
- added append icon prop (ie, to remove if desired)
Browse files Browse the repository at this point in the history
  • Loading branch information
Severin Beauvais committed Sep 23, 2024
1 parent 7a8b992 commit 1558ca7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/components/date-picker/DatePicker.vue
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
<v-text-field
id="date-text-field"
ref="dateTextField"
append-icon="mdi-calendar"
:append-icon="appendIcon"
autocomplete="chrome-off"
:class="{ 'disable-picker': disablePicker }"
:clearable="clearable"
Expand Down Expand Up @@ -108,6 +108,7 @@ export default class DatePicker extends Mixins(DateMixin) {
@Prop({ default: '' }) readonly hint!: string
@Prop({ default: false }) readonly persistentHint!: boolean
@Prop({ default: false }) readonly clearable!: boolean
@Prop({ default: 'mdi-calendar' }) readonly appendIcon!: string
dateText = null
displayPicker = false
Expand Down

0 comments on commit 1558ca7

Please # to comment.