Skip to content

List Form Component

Laurian edited this page Feb 19, 2019 · 3 revisions

A list of form components containers.

List Form Component properties

The component has the following properties:

Property Type Default Description
foundset foundset null For each record in foundset one form component will be displayed
containedForm formcomponent null The form component that will be displayed
pageLayout string "cardview" Layout type, can be cardview (multiple forms per row) or listview (single form per row).
responsivePageSize int 0 Number of containers to fit in one page.
styleClass styleClass svy-listformcomponent Styleclass of the component

Inline block spacing issue

Due to component implementation (using inline block), List Form Component will have some extra spacing between the cells. Currently, there is no good generic fix for this issue. So, in order to fix it you have to adjust the css taking into acount the specific of your solution. For example, adding line-height:0; or font-size:0; to component css will fix this issue. However, note this may affect/break nested components.

Clone this wiki locally