Antonie Hogewoning
16ca521cd0
Fix setting default values for repeater in update context ( #4098 )
...
Credit to @CptMeatball
2019-01-31 13:50:21 -06:00
Nathan van der Werf
0f0d108da0
Remove unused imports
2018-08-24 19:51:59 +02:00
Nathan van der Werf
66fa03f17e
Revert "Remove unused imports"
...
This reverts commit 742a5f415b .
2018-08-24 19:40:40 +02:00
Nathan van der Werf
3a918ad200
Remove "null" assignments
2018-08-15 18:33:24 +02:00
Nathan van der Werf
742a5f415b
Remove unused imports
2018-08-15 18:27:36 +02: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
d164145229
Fixes #2613
...
This fixes #2613 by reloading the form widgets with the modified data after `model.filterFields`. **NOTE**: `$this->processExistingItems()` isn't simply just moved to `prepareVars()` because that messes up the adding new repeater item functionality by repeating the content from the fields for the last item in that group that already exists on the repeater.
2017-11-01 14:18:41 -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
6a6378a24d
Strip indexes from repeater data sets
2017-04-26 08:10:45 +10:00
Samuel Georges
cb56c61e36
Retain true backward compatibility with early repeater
2017-04-24 19:06:59 +10:00
Samuel Georges
d7ef8cdcf8
Minor logic change
2017-04-24 13:24:57 +10:00
Samuel Georges
6825ce12c8
Allow external group field definition - Refs #2772
2017-04-24 13:24:57 +10: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
acfe619cb9
Add button lacks loading state - Refs #2772
2017-04-24 13:24:55 +10:00
Samuel Georges
ac7da4634a
Implement working prototype of a grouped repeater
...
Refs #2772
2017-04-22 22:01:17 +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
Samuel Georges
b841f9e066
{@inheritDoc} -> @inheritDoc
2017-03-16 06:26:14 +11:00
Samuel Georges
e9cc782120
Peer review #2723
2017-03-01 14:31:37 +11:00
Luke Towers
5c56c9579d
Add support for maxItems to the Repeater FormWidget
...
Refs: #2710
2017-02-28 20:36:32 -06:00
Samuel Georges
29040b416c
Allow redirect: false on importExportController
...
Implement getFieldName() method
2016-11-28 07:50:06 +11:00
Samuel Georges
7b0f33e9b3
Adds an isNested flag to Form widget
...
This is useful when a form renders another form inside, specifically the repeater. In these cases the model and data will diverge, and it also provides an opportunity to not apply extension logic to nested form fields.
Fixes #2257
2016-11-05 09:53:23 +11:00
Samuel Georges
675a6a4224
Code improvements
...
Refs #2235
2016-07-23 14:22:36 +10:00
Anže Časar
79bb4c2035
Nested DependsOn
2016-07-22 00:38:32 +02:00
Samuel Georges
d24f7252b3
Stops nested repeaters populating from previous sibling - Fixes #1381
2015-08-22 10:18:41 +10:00
Samuel Georges
fc04bd1b4c
Added new makeFormWidget() method to WidgetMaker for rendering form widgets individually
2015-08-07 19:06:04 +10:00
Samuel Georges
b010732796
These methods should be protected, update client lang
2015-08-04 10:01:17 +10:00
Samuel Georges
2cf8ad8c27
Minor fixes, improvements to full screen rich editor
2015-03-06 18:54:45 +11:00
Samuel Georges
fe5deb68e7
Repeater should populate with existing dataset
2015-03-05 19:02:23 +11:00
Samuel Georges
be2e40e69f
Add hypothetical loading of data
2015-03-04 19:13:15 +11:00
Samuel Georges
25d4c11f3f
Typo
2015-03-04 19:09:59 +11:00
Samuel Georges
022eb4d673
Create initial version of repeater form widget
2015-03-04 19:05:32 +11:00