mask api key inputs in builder io form (#792)
This commit is contained in:
parent
5b2976306e
commit
457865994e
2 changed files with 7 additions and 0 deletions
5
.changeset/rare-snails-press.md
Normal file
5
.changeset/rare-snails-press.md
Normal file
|
@ -0,0 +1,5 @@
|
||||||
|
---
|
||||||
|
"saleor-app-cms-v2": patch
|
||||||
|
---
|
||||||
|
|
||||||
|
Made Builder.io api keys inputs type of "password" so they are masked now
|
|
@ -46,6 +46,7 @@ const PureForm = ({ defaultValues, onSubmit, onDelete }: PureFormProps) => {
|
||||||
<Box display={"grid"} gap={4} marginY={4}>
|
<Box display={"grid"} gap={4} marginY={4}>
|
||||||
<Text variant="heading">Provide connection details</Text>
|
<Text variant="heading">Provide connection details</Text>
|
||||||
<Input
|
<Input
|
||||||
|
type="password"
|
||||||
required
|
required
|
||||||
control={control}
|
control={control}
|
||||||
name="privateApiKey"
|
name="privateApiKey"
|
||||||
|
@ -60,6 +61,7 @@ const PureForm = ({ defaultValues, onSubmit, onDelete }: PureFormProps) => {
|
||||||
}
|
}
|
||||||
/>
|
/>
|
||||||
<Input
|
<Input
|
||||||
|
type="password"
|
||||||
required
|
required
|
||||||
control={control}
|
control={control}
|
||||||
name="publicApiKey"
|
name="publicApiKey"
|
||||||
|
|
Loading…
Reference in a new issue