-
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-8234: Fixes an issue where Select with Resource data source rende…
…rs values instead of labels in the read only mode
- Loading branch information
1 parent
2f14fbf
commit dedc19b
Showing
4 changed files
with
107 additions
and
2 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,38 @@ | ||
export default { | ||
title: 'FIO-8234', | ||
name: 'fio8234', | ||
path: 'fio8234', | ||
type: 'form', | ||
display: 'form', | ||
components: [ | ||
{ | ||
label: 'Select', | ||
widget: 'choicesjs', | ||
tableView: true, | ||
dataSrc: 'resource', | ||
data: { | ||
resource: '665446284c9b0163c3e0c7e6', | ||
}, | ||
template: '<span>{{ item.data.textField1 }}</span>', | ||
validate: { | ||
select: false, | ||
}, | ||
key: 'select', | ||
type: 'select', | ||
searchField: 'data.textField2__regex', | ||
input: true, | ||
noRefreshOnScroll: false, | ||
addResource: false, | ||
reference: false, | ||
valueProperty: 'data.textField2', | ||
}, | ||
{ | ||
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