Fixed the issue where password field is showing as plain text.

This commit is contained in:
Nikhil Mohite 2021-09-20 13:05:58 +05:30 committed by Akshay Joshi
parent 7aa213a5ce
commit d27b4831d6

View File

@ -339,7 +339,7 @@ export const InputText = forwardRef(({
onChange={onChangeFinal}
{...controlProps}
{...props}
{...(['numeric', 'int'].indexOf(type) > -1 ? {type: 'tel'} : {})}
{...(['numeric', 'int'].indexOf(type) > -1 ? {type: 'tel'} : {type: type})}
/>
);
});