-
Value
-
{
- setShowPassword((prevShowPassword) => !prevShowPassword);
- }}
- isVisible={showPassword}
- />
+
+
+ {
+ setShowPassword((prevShowPassword) => !prevShowPassword);
+ }}
+ isVisible={showPassword || edit}
+ />
+ }
+ {...register(`value`)}
+ />
+
+
- {edit ? (
- <>
-
-
- {'S'}
-
-
-
- {
- reset();
- setEdit((preVal) => !preVal);
- }}
- >
- {'C'}
-
-
- >
- ) : (
- <>
-
- {
- setEdit((preVal) => !preVal);
- }}
- >
- {'E'}
-
-
-
- setDeleteDialogOpen((preVal) => !preVal)}
- >
- {'D'}
-
-
- >
- )}
+ }}
+ >
+ {edit ?
:
}
+