-
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-7632: Fixes an issue where HTML tags are added to the HTML5 Selec…
…t metadata
- Loading branch information
1 parent
c73cfd7
commit bdcba90
Showing
4 changed files
with
135 additions
and
6 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,104 @@ | ||
export default { | ||
title: 'FIO-7632', | ||
name: 'fio7632', | ||
path: 'fio7632', | ||
type: 'form', | ||
display: 'form', | ||
components: [ | ||
{ | ||
collapsible: false, | ||
key: 'panel', | ||
type: 'panel', | ||
label: 'Panel', | ||
input: false, | ||
tableView: false, | ||
components: [ | ||
{ | ||
label: 'Animals', | ||
widget: 'html5', | ||
tableView: true, | ||
data: { | ||
values: [ | ||
{ | ||
label: 'Dog', | ||
value: 'dog', | ||
}, | ||
{ | ||
label: 'Cat', | ||
value: 'cat', | ||
}, | ||
{ | ||
label: 'Horse', | ||
value: 'horse', | ||
}, | ||
], | ||
}, | ||
key: 'animals', | ||
type: 'select', | ||
input: true, | ||
}, | ||
{ | ||
label: 'Checkbox', | ||
tableView: false, | ||
key: 'checkbox', | ||
type: 'checkbox', | ||
input: true, | ||
}, | ||
{ | ||
label: 'Animals2', | ||
widget: 'html5', | ||
tableView: true, | ||
data: { | ||
values: [ | ||
{ | ||
label: 'Dog', | ||
value: 'dog', | ||
}, | ||
{ | ||
label: 'Cat', | ||
value: 'cat', | ||
}, | ||
{ | ||
label: 'Horse', | ||
value: 'horse', | ||
}, | ||
], | ||
}, | ||
calculateValue: 'if (data.checkbox === true) {\n value = data.animals;\n}', | ||
key: 'animals2', | ||
logic: [ | ||
{ | ||
name: 'disable', | ||
trigger: { | ||
type: 'javascript', | ||
javascript: 'result = row.checkbox === true;', | ||
}, | ||
actions: [ | ||
{ | ||
name: 'disable', | ||
type: 'property', | ||
property: { | ||
label: 'Disabled', | ||
value: 'disabled', | ||
type: 'boolean', | ||
}, | ||
state: true, | ||
}, | ||
], | ||
}, | ||
], | ||
type: 'select', | ||
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