mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
[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:
@@ -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, {
|
||||
|
Reference in New Issue
Block a user