-
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-9283: fixed na issue where select with resource dataSrc does not …
…display values in readOnly mode (#5893) * FIO-9283: fixed na issue where select with resource dataSrc does not display values in readOnly mode * fixed tests
- Loading branch information
1 parent
d8f94f4
commit 2079440
Showing
5 changed files
with
102 additions
and
5 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
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,59 @@ | ||
export default { | ||
_id: '672483c1d9abe46bcd70bca4', | ||
title: 'yyyyyyy', | ||
name: 'yyyyyyy', | ||
path: 'yyyyyyy', | ||
type: 'form', | ||
display: 'form', | ||
components: [ | ||
{ | ||
label: 'Number', | ||
applyMaskOn: 'change', | ||
mask: false, | ||
tableView: false, | ||
delimiter: false, | ||
requireDecimal: false, | ||
inputFormat: 'plain', | ||
truncateMultipleSpaces: false, | ||
validateWhenHidden: false, | ||
key: 'number', | ||
type: 'number', | ||
input: true, | ||
}, | ||
{ | ||
label: 'Select - Resource', | ||
widget: 'choicesjs', | ||
tableView: true, | ||
dataSrc: 'resource', | ||
data: { | ||
resource: '672482f2d9abe46bcd70a0dc', | ||
}, | ||
valueProperty: 'data.textField', | ||
template: '<span>{{ item.data.textField }}</span>', | ||
validate: { | ||
select: false, | ||
}, | ||
validateWhenHidden: false, | ||
key: 'selectResource', | ||
type: 'select', | ||
searchField: 'data.textField__regex', | ||
noRefreshOnScroll: false, | ||
addResource: false, | ||
reference: false, | ||
input: true, | ||
searchThreshold: 0.3, | ||
}, | ||
{ | ||
type: 'button', | ||
label: 'Submit', | ||
key: 'submit', | ||
disableOnInvalid: true, | ||
input: true, | ||
tableView: false, | ||
}, | ||
], | ||
project: '67211a9aa929e4e6ebc2bf77', | ||
created: '2024-11-01T07:31:13.647Z', | ||
modified: '2024-11-01T12:51:23.213Z', | ||
machineName: 'izutenexavvxnws:yyyyyyy', | ||
}; |
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