Skip to content

Commit

Permalink
start the coverage process
Browse files Browse the repository at this point in the history
  • Loading branch information
Fred Lefévère-Laoide authored and Fred Lefévère-Laoide committed Jul 17, 2024
1 parent 1cbb0a0 commit a462d56
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions frontend/taipy-gui/src/components/Taipy/Input.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -218,16 +218,14 @@ const Input = (props: TaipyInputProps) => {
type == "password"
? {
endAdornment: (
<InputAdornment position="end">
<IconButton
aria-label="toggle password visibility"
onClick={handleClickShowPassword}
onMouseDown={handleMouseDownPassword}
edge="end"
>
{showPassword ? <VisibilityOff /> : <Visibility />}
</IconButton>
</InputAdornment>
<IconButton
aria-label="toggle password visibility"
onClick={handleClickShowPassword}
onMouseDown={handleMouseDownPassword}
edge="end"
>
{showPassword ? <VisibilityOff /> : <Visibility />}
</IconButton>
),
}
: type == "number"
Expand Down Expand Up @@ -270,6 +268,8 @@ const Input = (props: TaipyInputProps) => {
min: min,
max: max,
}
: type == "password"
? { autoComplete: "current-password" }
: undefined,
[type, step, min, max]
);
Expand Down

0 comments on commit a462d56

Please sign in to comment.