Fixed npe

pull/5206/head
Cagatay Civici 2024-02-02 02:10:33 +03:00
parent 06b58c9444
commit e9f07c5e3d
1 changed files with 1 additions and 1 deletions

View File

@ -172,7 +172,7 @@ const classes = {
'p-focus': state.focused || state.overlayVisible 'p-focus': state.focused || state.overlayVisible
} }
], ],
input: ({ props }) => ['p-inputtext p-component', { 'p-variant-filled': props.variant ? props.variant === 'filled' : instance.$primevue.config.inputStyle === 'filled' }], input: ({ props, instance }) => ['p-inputtext p-component', { 'p-variant-filled': props.variant ? props.variant === 'filled' : instance.$primevue.config.inputStyle === 'filled' }],
dropdownButton: 'p-datepicker-trigger', dropdownButton: 'p-datepicker-trigger',
inputIcon: 'p-datepicker-trigger-icon', inputIcon: 'p-datepicker-trigger-icon',
panel: ({ instance, props, state }) => [ panel: ({ instance, props, state }) => [