commit 982fc51a97389ef8863de806dab496b0fe2102c6
parent 9df2547ccf74d7cf5294e16a5f5f7c074dd301b7
Author: Sebastian <sebasjm@gmail.com>
Date: Wed, 26 Apr 2023 11:44:59 -0300
missing input type
Diffstat:
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git a/packages/merchant-backoffice-ui/src/paths/instance/templates/create/CreatePage.tsx b/packages/merchant-backoffice-ui/src/paths/instance/templates/create/CreatePage.tsx
@@ -178,6 +178,7 @@ export function CreatePage({ onCreate, onBack }: Props): VNode {
<InputWithAddon<Entity>
name="pos_key"
label={i18n.str`Point-of-sale key`}
+ inputType={showKey ? "text" : "password"}
help="Be sure to be very hard to guess or use the random generator"
tooltip={i18n.str`Useful to validate the purchase`}
fromStr={(v) => v.toUpperCase()}