User tests: Successful: Unsuccessful:
This is an alternative PR to #12419 based on the suggestion by @coolcat-creations
A PR to add some styling to repeatable subforms (joomla.form.field.subform.repeatable).
Create ../modules/mod_login/test.xml to which add the following...
<?xml version="1.0" encoding="UTF-8"?>
<form>
<fieldset name="sample" class="sample-subform">
<field name="image" type="media" default="" label="Sample Field 1" description="Desc1" size="30" />
<field name="text" type="text" default="" label="Sample Field 2" description="Desc2" />
<field name="color" type="color" default="#dddddd" label="Sample Field 2" description="Desc2" />
</fieldset>
</form>
Add the following to the ../modules/mod_login/mod_login.xml file:
<field name="subformtest" type="subform" formsource="modules/mod_login/test.xml" class="advancedSelect" min="0" max="50" multiple="true" layout="joomla.form.field.subform.repeatable" groupByFieldset="true" label="Repeatable Subform" description="Desc" />
Note: Tried changing the icons directly (../layouts/joomla/form/field/subform/repeatable/secion.php) however any changes here did not reflect within the form. Possibly the wrong place? Changed the icons with CSS instead which is not ideal.
None
Status | New | ⇒ | Pending |
Labels |
Added:
?
|
Category | ⇒ | Administration Templates (admin) |
please, do not forget, there also joomla.form.field.subform.repeatable-table
layout, for render fields as table.
whether current changes do not break that layout?
I have tested this item
Thank you!!!
@coolcat-creations Thank you for testing. I'd be happy to go with this over #12419 if you are.
Cool, thank you! Then we need just a second test. Thank you for this improvement!
I have tested this item
Milestone |
Removed: |
||
Status | Ready to Commit | ⇒ | Pending |
Milestone |
Added: |
Milestone |
Added: |
||
Status | Pending | ⇒ | Ready to Commit |
RTC
Status | Pending | ⇒ | Ready to Commit |
Milestone |
Removed: |
Milestone |
Added: |
Milestone |
Added: |
Labels |
Added:
?
|
Status | Ready to Commit | ⇒ | Fixed in Code Base |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2016-11-15 21:33:55 |
Closed_By | ⇒ | rdeutz |
The template.less is becoming extremely bulky now. We're using LESS, so I think it's time to start separating stuff into separate files, so it's easier to maintain.
+1 for the styling changes though, looking good.