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}>
|
||||
<Text variant="heading">Provide connection details</Text>
|
||||
<Input
|
||||
type="password"
|
||||
required
|
||||
control={control}
|
||||
name="privateApiKey"
|
||||
|
@ -60,6 +61,7 @@ const PureForm = ({ defaultValues, onSubmit, onDelete }: PureFormProps) => {
|
|||
}
|
||||
/>
|
||||
<Input
|
||||
type="password"
|
||||
required
|
||||
control={control}
|
||||
name="publicApiKey"
|
||||
|
|
Loading…
Reference in a new issue