missing input type

This commit is contained in:
Sebastian 2023-04-26 11:44:59 -03:00
parent 9df2547ccf
commit 982fc51a97
No known key found for this signature in database
GPG Key ID: 173909D1A5F66069

View File

@ -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()}