Fixed #4143 - Password: id props is passed to container
parent
b37b1546f6
commit
45caf7d78e
|
@ -1,6 +1,6 @@
|
|||
<template>
|
||||
<div :class="containerClass" :style="styles">
|
||||
<PInputText ref="input" :class="inputFieldClass" :style="inputStyle" :type="inputType" :value="d_value" v-bind="$attrs" v-on="listeners" />
|
||||
<PInputText ref="input" :id="inputId" :class="inputFieldClass" :style="inputStyle" :type="inputType" :value="d_value" v-bind="$attrs" v-on="listeners" />
|
||||
<i v-if="toggleMask" :class="toggleIconClass" @click="onMaskToggle" />
|
||||
<transition name="p-connected-overlay" @enter="onOverlayEnter" @leave="onOverlayLeave">
|
||||
<div ref="overlayRef" class="p-password-panel p-component" v-if="overlayVisible">
|
||||
|
@ -71,6 +71,7 @@ export default {
|
|||
},
|
||||
inputClass: null,
|
||||
inputStyle: null,
|
||||
inputId: null,
|
||||
styles: null,
|
||||
className: null
|
||||
},
|
||||
|
|
|
@ -131,6 +131,12 @@ import Password from 'primevue/password';
|
|||
<td>null</td>
|
||||
<td>Id of the element or "body" for document where the overlay should be appended to.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>inputId</td>
|
||||
<td>string</td>
|
||||
<td>null</td>
|
||||
<td>Identifier of the underlying input element.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>inputStyle</td>
|
||||
<td>any</td>
|
||||
|
|
Loading…
Reference in New Issue