We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4d59f36 commit 12e4e0eCopy full SHA for 12e4e0e
1 file changed
ui/src/views/extension/RunCustomAction.vue
@@ -178,10 +178,18 @@ export default {
178
delete this.rules[key]
179
}
180
})
181
+ Object.keys(this.form).forEach(key => {
182
+ if (key !== 'customactionid') {
183
+ delete this.form[key]
184
+ }
185
+ })
186
if (this.currentParameters && this.currentParameters.length > 0) {
187
this.currentParameters.forEach(field => {
188
const required = !!field.required
189
const fieldRules = []
190
+ if (field.type === 'BOOLEAN') {
191
+ this.form[field.name] = false
192
193
// Required rule
194
if (required) {
195
fieldRules.push({
0 commit comments