master-control 0.5.31 → 0.5.33
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.
|
@@ -4445,9 +4445,9 @@ class MedialQuestionsComponent {
|
|
|
4445
4445
|
this.personUwId = singlePersonObject['personUWId'].toString();
|
|
4446
4446
|
if (!this.checkIfValueIsEmpty(singlePersonObject['questionList'])) {
|
|
4447
4447
|
singlePersonObject['questionList'].forEach((singleQuestion) => {
|
|
4448
|
-
if (singleQuestion['title'] === 'Medical Details') {
|
|
4449
|
-
|
|
4450
|
-
}
|
|
4448
|
+
// if (singleQuestion['title'] === 'Medical Details') {
|
|
4449
|
+
singleQuestion['questionText'] = singleQuestion['questionText'].replace(/\\n/g, '\n');
|
|
4450
|
+
// }
|
|
4451
4451
|
singleQuestion['domainValues'] =
|
|
4452
4452
|
data['domainValues'][singleQuestion['domainName']];
|
|
4453
4453
|
singleQuestion['field'] = this.getField(singleQuestion);
|
|
@@ -5326,6 +5326,9 @@ class MedialQuestionsComponent {
|
|
|
5326
5326
|
patternMessage = null;
|
|
5327
5327
|
}
|
|
5328
5328
|
}
|
|
5329
|
+
if (!this.checkIfValueIsEmpty(validationObj['pattern'])) {
|
|
5330
|
+
pattern = validationObj['pattern'];
|
|
5331
|
+
}
|
|
5329
5332
|
}
|
|
5330
5333
|
if (this.field()?.configData?.hasOwnProperty('isInlineLabel')) {
|
|
5331
5334
|
configData.isInlineLabel = this.field()?.configData?.isInlineLabel;
|