Skip to content

Commit add91c7

Browse files
Update dynamic-form-view-onchange.js
1 parent b4c8a83 commit add91c7

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Client-Side Components/Client Scripts/Dynamically Switch Form View Based on Field Value/dynamic-form-view-onchange.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ function onChange(control, oldValue, newValue, isLoading) {
2424

2525
if (targetView) {
2626
try {
27+
// Here for example the table name is incident
2728
switchView("section", "incident", targetView);
2829
} catch (e) {
2930
console.error("View switch failed: ", e);

0 commit comments

Comments
 (0)