mirror of
https://github.com/primefaces/primevue.git
synced 2025-05-09 00:42:36 +00:00
Refactor #5273 - Refactor on Calendar and Password
This commit is contained in:
parent
40eda9de88
commit
b7cf334d2a
3 changed files with 8 additions and 6 deletions
|
@ -9,7 +9,7 @@ const classes = {
|
|||
'p-calendar p-component p-inputwrapper',
|
||||
{
|
||||
'p-calendar-w-btn': props.showIcon && props.iconDisplay === 'button',
|
||||
'p-input-icon-right': props.showIcon && props.iconDisplay === 'input',
|
||||
'p-icon-field p-icon-field-right': props.showIcon && props.iconDisplay === 'input',
|
||||
'p-calendar-timeonly': props.timeOnly,
|
||||
'p-calendar-disabled': props.disabled,
|
||||
'p-invalid': props.invalid,
|
||||
|
@ -25,7 +25,7 @@ const classes = {
|
|||
}
|
||||
],
|
||||
dropdownButton: 'p-datepicker-trigger',
|
||||
inputIcon: 'p-datepicker-trigger-icon',
|
||||
inputIcon: 'p-datepicker-trigger-icon p-input-icon',
|
||||
panel: ({ instance, props, state }) => [
|
||||
'p-datepicker p-component',
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue