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
|
@ -10,7 +10,7 @@ const classes = {
|
|||
{
|
||||
'p-inputwrapper-filled': instance.filled,
|
||||
'p-inputwrapper-focus': instance.focused,
|
||||
'p-input-icon-right': props.toggleMask
|
||||
'p-icon-field p-icon-field-right': props.toggleMask
|
||||
}
|
||||
],
|
||||
input: ({ props }) => [
|
||||
|
@ -19,7 +19,9 @@ const classes = {
|
|||
'p-disabled': props.disabled
|
||||
}
|
||||
],
|
||||
panel: ({ props, instance }) => [
|
||||
hideIcon: 'p-input-icon',
|
||||
showIcon: 'p-input-icon',
|
||||
panel: ({ instance }) => [
|
||||
'p-password-panel p-component',
|
||||
{
|
||||
'p-ripple-disabled': instance.$primevue.config.ripple === false
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue