mirror of
https://github.com/coder/coder.git
synced 2026-09-24 15:04:27 +08:00
feat: allow masking workspace parameter inputs (#18595)
This commit is contained in:
Generated
+4
@@ -2890,6 +2890,7 @@ CreateWorkspaceRequest provides options for creating a new workspace. Only one o
|
||||
"styling": {
|
||||
"disabled": true,
|
||||
"label": "string",
|
||||
"mask_input": true,
|
||||
"placeholder": "string"
|
||||
},
|
||||
"type": "string",
|
||||
@@ -5059,6 +5060,7 @@ Git clone makes use of this by parsing the URL from: 'Username for "https://gith
|
||||
"styling": {
|
||||
"disabled": true,
|
||||
"label": "string",
|
||||
"mask_input": true,
|
||||
"placeholder": "string"
|
||||
},
|
||||
"type": "string",
|
||||
@@ -5128,6 +5130,7 @@ Git clone makes use of this by parsing the URL from: 'Username for "https://gith
|
||||
{
|
||||
"disabled": true,
|
||||
"label": "string",
|
||||
"mask_input": true,
|
||||
"placeholder": "string"
|
||||
}
|
||||
```
|
||||
@@ -5138,6 +5141,7 @@ Git clone makes use of this by parsing the URL from: 'Username for "https://gith
|
||||
|---------------|---------|----------|--------------|-------------|
|
||||
| `disabled` | boolean | false | | |
|
||||
| `label` | string | false | | |
|
||||
| `mask_input` | boolean | false | | |
|
||||
| `placeholder` | string | false | | |
|
||||
|
||||
## codersdk.PreviewParameterValidation
|
||||
|
||||
Generated
+1
@@ -2697,6 +2697,7 @@ curl -X POST http://coder-server:8080/api/v2/templateversions/{templateversion}/
|
||||
"styling": {
|
||||
"disabled": true,
|
||||
"label": "string",
|
||||
"mask_input": true,
|
||||
"placeholder": "string"
|
||||
},
|
||||
"type": "string",
|
||||
|
||||
Reference in New Issue
Block a user