-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
FIO-7547: Container hidden with conditional logic still appears in su…
…bmission (#5401) * FIO-7547: Container hidden with conditional logic still appears in submission * Fixed tests
- Loading branch information
1 parent
2cd8c2e
commit d11c5c7
Showing
5 changed files
with
67 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
export default { | ||
type: 'form', | ||
display: 'form', | ||
components: [ | ||
{ | ||
label: 'Checkbox', | ||
tableView: false, | ||
key: 'checkbox', | ||
type: 'checkbox', | ||
input: true, | ||
}, | ||
{ | ||
label: 'Container', | ||
tableView: false, | ||
key: 'container', | ||
conditional: { | ||
show: true, | ||
when: 'checkbox', | ||
eq: 'true', | ||
}, | ||
type: 'container', | ||
input: true, | ||
components: [ | ||
{ | ||
label: 'Text Field', | ||
applyMaskOn: 'change', | ||
tableView: true, | ||
key: 'textField', | ||
type: 'textfield', | ||
input: true, | ||
}, | ||
], | ||
}, | ||
{ | ||
type: 'button', | ||
label: 'Submit', | ||
key: 'submit', | ||
disableOnInvalid: true, | ||
input: true, | ||
tableView: false, | ||
}, | ||
], | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
export comp1 from './comp1'; | ||
export comp2 from './comp2'; | ||
export comp3 from './comp3'; | ||
export comp4 from './comp4'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters