You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Umbraco Version: 10.4.0
Umbraco Forms Version: 10.2.3
When I call the api to get form data via an api call, all of the column widths are 0 (api call to "/umbraco/forms/api/v1.0/definitions/{id}?contentId={contentId}"). This issue can even be seen in the example response data in the documentation, which has 0 instead of 12 for the column width.
Reproduction
Bug summary
Width property of columns in form data is always 0.
Specifics
It looks like it's just a data point that was left out when structuring the data returned by the api in the FormDtoFactory class. The code below doesn't set the width property.
privateFormFieldsetColumnDtoBuildFormColumnDto(Formform,Hashtable?pageElements,FieldsetContainercontainer){Formform2=form;HashtablepageElements2=pageElements;returnnewFormFieldsetColumnDto{Caption=_placeholderParsingService.ParsePlaceHolders(container.Caption??string.Empty,null,form2,pageElements2),Fields=fromxincontainer.FieldsselectBuildFormFieldDto(form2,pageElements2,x) into xwherex!=nullselect(x)};}
Steps to reproduce
Create a form
Add a property to a group.
Save the form.
Check the results of the api call to see whether the width is set.
Expected result
I expect the value of width to be 12 for a one column layout, 6 for a two column layout, etc.
Actual result
All column widths are set to 0.
The text was updated successfully, but these errors were encountered:
Umbraco Version: 10.4.0
Umbraco Forms Version: 10.2.3
When I call the api to get form data via an api call, all of the column widths are 0 (api call to "/umbraco/forms/api/v1.0/definitions/{id}?contentId={contentId}"). This issue can even be seen in the example response data in the documentation, which has 0 instead of 12 for the column width.
Reproduction
Bug summary
Width property of columns in form data is always 0.
Specifics
It looks like it's just a data point that was left out when structuring the data returned by the api in the FormDtoFactory class. The code below doesn't set the width property.
Steps to reproduce
Expected result
I expect the value of width to be 12 for a one column layout, 6 for a two column layout, etc.
Actual result
All column widths are set to 0.
The text was updated successfully, but these errors were encountered: