J3 Issue ?
avatar pepperstreet
pepperstreet
27 Sep 2018

Is your feature request related to a problem? Please describe.

The current repeatable field uses the table layout for form input display.
Nice to display a "typical" data table with headings. It works quite well for a smaller amount of fields and fields that do not require too much space itself. There is also some sort of "responsive" table display through CSS and media-queries...: Columns begin to stack vertically.

But with larger fields like editor or media, it can easily break the layout. Not to mention a greater amount of fields.

The core XML subform field seem to supply different layouts. Excerpt from documentation...

joomla.form.field.subform.default
render the subform in a div container, without support of repeating. Default for single mode.
joomla.form.field.subform.repeatable
render the subform in a div container, used for multiple mode. Support groupByFieldset.
joomla.form.field.subform.repeatable-table
render the subform as a table, used for multiple mode. Supports groupByFieldset. By default each field is rendered as a table column, but if groupByFieldset=true then each fieldset is rendered as a table column.

The 2nd "repeatable" layout is based on DIV's. It always stacks the sub-fields vertically. It has also a different button layout and positions. The DIV layout is always top-to-bottom. It works well on any screen-size.

Currently you can't switch to this or any other layout, because the table based one is a hard-coded default.

Describe the solution you'd like

A parameter to choose the form input layout.

Maybe a toggle between the 2 multiple mode layouts is enough in this particular case?
Although a dynamic layout select box is probably more versatile and future proof.

Additional context

Thanks in advance!

Subform field type documentation:
https://docs.joomla.org/Subform_form_field_type

avatar pepperstreet pepperstreet - open - 27 Sep 2018
avatar joomla-cms-bot joomla-cms-bot - change - 27 Sep 2018
Labels Added: ?
avatar joomla-cms-bot joomla-cms-bot - labeled - 27 Sep 2018
avatar pepperstreet pepperstreet - change - 27 Sep 2018
The description was changed
avatar pepperstreet pepperstreet - edited - 27 Sep 2018
avatar brianteeman brianteeman - change - 27 Sep 2018
Labels Added: J3 Issue
avatar brianteeman brianteeman - labeled - 27 Sep 2018
avatar joomla-cms-bot joomla-cms-bot - edited - 28 Sep 2018
avatar franz-wohlkoenig franz-wohlkoenig - change - 28 Sep 2018
Category Feature Request Fields
avatar franz-wohlkoenig franz-wohlkoenig - change - 4 Mar 2019
Status New Information Required
avatar franz-wohlkoenig
franz-wohlkoenig - comment - 4 Mar 2019

does the Issue stay in latest Version 3.9.3?


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/22412.

avatar Fedik
Fedik - comment - 4 Mar 2019

@franz-wohlkoenig I do not think that it is actual.
The repeatable field are depreciated, and the subform field have an attribute layout to choose the layout

avatar joomla-cms-bot joomla-cms-bot - change - 5 Mar 2019
Closed_Date 2019-03-05 06:01:23 2019-03-05 06:01:24
Closed_By franz-wohlkoenig joomla-cms-bot
avatar joomla-cms-bot joomla-cms-bot - close - 5 Mar 2019
avatar franz-wohlkoenig franz-wohlkoenig - change - 5 Mar 2019
Status Information Required Closed
Closed_Date 0000-00-00 00:00:00 2019-03-05 06:01:23
Closed_By franz-wohlkoenig
avatar joomla-cms-bot
joomla-cms-bot - comment - 5 Mar 2019
avatar franz-wohlkoenig
franz-wohlkoenig - comment - 5 Mar 2019

Thanks for Comment, @Fedik

closed based on Comment above. If closing is wrong please reopen and sorry.


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/22412.

Add a Comment

Login with GitHub to post a comment