When I use the Password component, the id does not get passed correctly. The input is wrapped inside a div and the id gets put on the div container and not the input. I'm using primereact 8.0.1
Code: Select all
<Password
id={id}
value={value}
feedback={false}
onChange={(e) => handler(e.target)}
className={
isError ? "p-invalid inputfield w-full" : "inputfield w-full"
}
/>
Code: Select all
<div id="password" class="p-password p-component p-inputwrapper p-inputwrapper-filled p-invalid inputfield w-full">
<input type="password" class="p-inputtext p-component p-filled p-password-input" value="" />
</div>