feat: allow masking workspace parameter inputs (#18595)

This commit is contained in:
ケイラ
2025-07-01 16:27:43 -06:00
committed by GitHub
parent d22ac1cf65
commit 0b82f41a24
11 changed files with 139 additions and 48 deletions

View File

@ -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

View File

@ -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",