[
'p-calendar p-component p-inputwrapper',
{
- 'p-calendar-w-btn': props.showIcon,
+ 'p-calendar-w-btn': props.showIcon && props.iconDisplay === 'button',
+ 'p-input-icon-right': props.showIcon && props.iconDisplay === 'input',
'p-calendar-timeonly': props.timeOnly,
'p-calendar-disabled': props.disabled,
'p-inputwrapper-filled': props.modelValue,
@@ -168,6 +173,7 @@ const classes = {
],
input: 'p-inputtext p-component',
dropdownButton: 'p-datepicker-trigger',
+ inputIcon: 'p-datepicker-trigger-icon',
panel: ({ instance, props, state }) => [
'p-datepicker p-component',
{