fix: update workspace form fields when switching templates (#1761)

resolves #1716
This commit is contained in:
Kira Pilot
2022-05-26 08:43:07 -04:00
committed by GitHub
parent 31b819e83f
commit 9a70c345c7
2 changed files with 7 additions and 0 deletions
+1
View File
@@ -60,6 +60,7 @@
"TCGETS",
"tcpip",
"TCSETS",
"templateversions",
"testid",
"tfexec",
"tfjson",
@@ -45,6 +45,12 @@ export const createWorkspaceMachine = createMachine(
},
},
tsTypes: {} as import("./createWorkspaceXService.typegen").Typegen0,
on: {
SELECT_TEMPLATE: {
actions: ["assignSelectedTemplate"],
target: "gettingTemplateSchema",
},
},
states: {
gettingTemplates: {
invoke: {