Commit Graph

21 Commits

Author SHA1 Message Date
Christos Christou 9f63ad2739 Fix Repeater max & min client side validation when using groups (#3953)
Credit to @c2webstudio.
2018-12-03 13:53:12 -06:00
Luke Towers fd4ee47065 Improved repeater item collapse button when remove button not present 2018-08-22 21:06:06 -06:00
Luke Towers cbed54a263 Implemented minItems repeater property on client & server
Also implemented maxItems on server (previously only client). Fixes https://github.com/octobercms/october/issues/3668
2018-08-12 01:33:51 -06:00
Luke Towers 6774920003 Finish implementing titleFrom option for Repeaters
Ref: e7609aa5e8
2018-08-11 20:27:53 -06:00
Luke Towers 056a37fce4 Fix repeater title generation in readOnly mode
Refs: 2a16847724
2017-07-09 13:06:23 -06:00
Luke Towers 2a16847724 Add support for readOnly Repeater Widgets (#2960)
* Add support for previewMode in Repeater FormWidget
Refs: #2724, 5f91c45f79
* Add support for previewMode in Repeater FormWidget

Refs: #2724, 5f91c45f79

* Add support for previewMode in Repeater FormWidget

Refs: #2724, 5f91c45f79

* Add support for previewMode in Repeater FormWidget

Refs: #2724, 5f91c45f79
2017-07-08 13:34:04 -06:00
Samuel Georges c52f91a6d2 Collapsed items should default to or include the group name - Refs #2772 2017-04-24 13:24:56 +10:00
Samuel Georges dac744dbc6 Scrollpad not rendering on open - Refs #2772 2017-04-24 13:24:56 +10:00
Samuel Georges acfe619cb9 Add button lacks loading state - Refs #2772 2017-04-24 13:24:55 +10:00
Samuel Georges 83e80745b3 Fixes issue with index incrementation 2017-04-22 21:40:35 +10:00
Samuel Georges 46fcdbc636 Progress on repeater field groups
Refs #2772
2017-04-22 21:04:37 +10:00
Christophe Vuagniaux 9e74fe6a53 Repeaters Firefox compatibility fixes (#2738)
* Repeaters fix Firefox collapse/expand buttons not working

* Repeaters fix Firefox open new tab when CTRL + click on Expand/Collapse buttons
2017-04-08 20:21:34 +10:00
Samuel Georges e9cc782120 Peer review #2723 2017-03-01 14:31:37 +11:00
Luke Towers 3aa251db4e Client side enforcement of repeater maxitems
Adds client side enforcement of the max items property of the repeater form widget
2017-02-28 20:43:08 -06:00
Samuel Georges 023f2ac0f5 Push add/remove events to JS
Refs #2710 /cc @LukeTowers
2017-03-01 12:40:15 +11:00
Samuel Georges e7609aa5e8 Improvements to repeater collapsing
Removed the expand all, collapse all buttons, they are a bit too bulky so have been replaced with the standard CTRL+click behavior.
Added foundation library to repeater.js
Add "titleFrom" option to specify which input to use for the collapsed title
Styling improvements

Refs #2632 + #2631
2017-01-28 11:59:28 +11:00
Christophe Vuagniaux 4dbe172a43 Repeaters add Expand Collapse buttons see #2631 2017-01-28 11:03:49 +11:00
Samuel Georges 80fb1f42cc Further code improvements
Refs #2233
2016-07-23 13:06:38 +10:00
Anže Časar 453096bb27 Fix nested repeater 2016-07-21 18:55:03 +02:00
Samuel Georges ad6447f5f2 Fixes #995 - Adds sorting to repeater 2015-03-23 20:03:37 +11:00
Samuel Georges 022eb4d673 Create initial version of repeater form widget 2015-03-04 19:05:32 +11:00