master-control 0.4.84 → 0.4.86
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -5117,14 +5117,16 @@ class MedialQuestionsComponent {
|
|
|
5117
5117
|
const questionId = singleQuestion['questionId']?.toString();
|
|
5118
5118
|
const hasDefaultValue = !this.checkIfValueIsEmpty(this.defaultValues()) &&
|
|
5119
5119
|
Object.keys(this.defaultValues()).includes(questionId);
|
|
5120
|
-
if (
|
|
5121
|
-
|
|
5122
|
-
|
|
5123
|
-
|
|
5124
|
-
|
|
5125
|
-
|
|
5126
|
-
|
|
5127
|
-
|
|
5120
|
+
// if (
|
|
5121
|
+
// hasDefaultValue &&
|
|
5122
|
+
// singleQuestion['field'] &&
|
|
5123
|
+
// !isEnableDefaultQuestions
|
|
5124
|
+
// ) {
|
|
5125
|
+
// singleQuestion['field'] = {
|
|
5126
|
+
// ...singleQuestion['field'],
|
|
5127
|
+
// isDisable: true,
|
|
5128
|
+
// };
|
|
5129
|
+
// }
|
|
5128
5130
|
if (singleQuestion['questionType'] === 'CHECKBOX') {
|
|
5129
5131
|
if (!this.checkIfValueIsEmpty(singleQuestion['domainValues'])) {
|
|
5130
5132
|
let isNoneInDomainValues = singleQuestion['domainValues'].filter((singleObj) => singleObj['domainUiValue'].toUpperCase() === 'NONE');
|