[MNT-21705] - fixed column display for fields (#6078)

* [MNT-21705] - fixed column display for fields

* [MNT-21705] - fixed unit test

* [MNT-21636] - adding flag for enable-disable column

* [MNT-21705] - fixed broken unit test

* [MNT-21705] - added documentation for extra form input field

Co-authored-by: Vito Albano <vitoalbano@vitoalbano-mbp-0120.local>
This commit is contained in:
Vito
2020-09-24 10:20:18 +01:00
committed by GitHub
parent 80a3618ca8
commit ffe04120a8
9 changed files with 68 additions and 17 deletions

View File

@@ -102,9 +102,9 @@ export class FormService {
* @param readOnly Should the form fields be read-only?
* @returns Form model created from input data
*/
parseForm(json: any, data?: FormValues, readOnly: boolean = false): FormModel {
parseForm(json: any, data?: FormValues, readOnly: boolean = false, fixedSpace?: boolean): FormModel {
if (json) {
const form = new FormModel(json, data, readOnly, this);
const form = new FormModel(json, data, readOnly, this, fixedSpace);
if (!json.fields) {
form.outcomes = [
new FormOutcomeModel(<any> form, {