DatePicker ptm updates
parent
04d0298ae9
commit
15227cd9b5
|
@ -147,6 +147,14 @@ export interface DatePickerPassThroughOptions {
|
|||
* Used to pass attributes to the dropdown icon's DOM element.
|
||||
*/
|
||||
dropdownIcon?: DatePickerPassThroughOptionType;
|
||||
/**
|
||||
* Used to pass attributes to the input icon container's DOM element.
|
||||
*/
|
||||
inputIconContainer?: DatePickerPassThroughOptionType;
|
||||
/**
|
||||
* Used to pass attributes to the input icon's DOM element.
|
||||
*/
|
||||
inputIcon?: DatePickerPassThroughOptionType;
|
||||
/**
|
||||
* Used to pass attributes to the panel's DOM element.
|
||||
*/
|
||||
|
|
|
@ -48,7 +48,7 @@
|
|||
</button>
|
||||
</slot>
|
||||
<template v-else-if="showIcon && iconDisplay === 'input'">
|
||||
<span v-if="$slots.inputicon || showIcon" :class="cx('inputIconContainer')">
|
||||
<span v-if="$slots.inputicon || showIcon" :class="cx('inputIconContainer')" v-bind="ptm('inputIconContainer')">
|
||||
<slot name="inputicon" :class="cx('inputIcon')" :clickCallback="onButtonClick">
|
||||
<component :is="icon ? 'i' : 'CalendarIcon'" :class="[icon, cx('inputIcon')]" @click="onButtonClick" v-bind="ptm('inputicon')" />
|
||||
</slot>
|
||||
|
|
|
@ -362,7 +362,7 @@ const classes = {
|
|||
dropdown: 'p-datepicker-dropdown',
|
||||
inputIconContainer: 'p-datepicker-input-icon-container',
|
||||
inputIcon: 'p-datepicker-input-icon',
|
||||
panel: ({ instance, props }) => [
|
||||
panel: ({ props }) => [
|
||||
'p-datepicker-panel p-component',
|
||||
{
|
||||
'p-datepicker-panel-inline': props.inline,
|
||||
|
|
Loading…
Reference in New Issue