File tree 1 file changed +3
-0
lines changed
packages/docusaurus-theme-openapi-docs/src/theme/ApiExplorer/Authorization
1 file changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -48,6 +48,7 @@ function Authorization() {
48
48
< FormItem label = "Bearer Token" key = { a . key + "-bearer" } >
49
49
< FormTextInput
50
50
placeholder = "Bearer Token"
51
+ password
51
52
value = { data [ a . key ] . token ?? "" }
52
53
onChange = { ( e : React . ChangeEvent < HTMLInputElement > ) => {
53
54
const value = e . target . value ;
@@ -69,6 +70,7 @@ function Authorization() {
69
70
< FormItem label = "Bearer Token" key = { a . key + "-oauth2" } >
70
71
< FormTextInput
71
72
placeholder = "Bearer Token"
73
+ password
72
74
value = { data [ a . key ] . token ?? "" }
73
75
onChange = { ( e : React . ChangeEvent < HTMLInputElement > ) => {
74
76
const value = e . target . value ;
@@ -130,6 +132,7 @@ function Authorization() {
130
132
< FormItem label = { `${ a . key } ` } key = { a . key + "-apikey" } >
131
133
< FormTextInput
132
134
placeholder = { `${ a . key } ` }
135
+ password
133
136
value = { data [ a . key ] . apiKey ?? "" }
134
137
onChange = { ( e : React . ChangeEvent < HTMLInputElement > ) => {
135
138
const value = e . target . value ;
You can’t perform that action at this time.
0 commit comments