@openmrs/ngx-formentry 4.0.1-pre.326 → 4.0.1-pre.330

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.
@@ -12012,6 +12012,16 @@ class QuestionFactory {
12012
12012
  question.extras = schemaQuestion;
12013
12013
  question.extras.questionOptions.buttonType = question.buttonType;
12014
12014
  question.extras.questionOptions.workspaceName = question.workspaceName;
12015
+ const mappings = {
12016
+ label: 'label',
12017
+ required: 'required',
12018
+ id: 'key'
12019
+ };
12020
+ this.copyProperties(mappings, schemaQuestion, question);
12021
+ this.addDisableOrHideProperty(schemaQuestion, question);
12022
+ this.addAlertProperty(schemaQuestion, question);
12023
+ this.addHistoricalExpressions(schemaQuestion, question);
12024
+ this.addCalculatorProperty(schemaQuestion, question);
12015
12025
  return question;
12016
12026
  }
12017
12027
  getSchemaQuestions(schema) {