Luke Towers
51b6f64418
Convert field name to dot syntax before checking validation rules
...
Converts a field name in the form of `model_json_attribute[subproperty]` to the dot syntax version used by validation rules `model_json_attribute.subproperty` for more accurate checking of the validation rules in the form widget.
2017-11-02 12:35:50 -06:00
arifnyet
eb0e5c74c1
Support default config option for list filters ( #3201 )
...
Fixes #2329
2017-10-26 11:12:02 -06:00
Luke Towers
d292eeb85e
Remove ambiguity around what classes are being used
...
Fixes https://github.com/octobercms/october/issues/3184 .
2017-10-20 21:39:54 -06:00
Luke Towers
a62a6e6493
Support on and off options for the switch field
...
Adds support for custom on and off options for the switch field type.
2017-10-20 11:47:30 -06:00
Luke Towers
ac2e5937f0
Document list widget column value events
...
Documents `backend.list.overrideColumnValue` and adds and documents `backend.list.overrideColumnValueRaw`. See https://github.com/octobercms/october/issues/3180 for why this is necessary.
2017-10-18 10:57:17 -06:00
Samuel Georges
669a4cee6e
Merge branch 'maintenance-mediamanager' into develop
2017-10-16 17:56:34 +11:00
Samuel Georges
2a1234d21c
Update MM lang refs
2017-10-16 17:52:50 +11:00
Samuel Georges
fdc2891734
Update deprecated refs
2017-10-14 22:06:34 +11:00
Luke Towers
4203e65549
Deprecated Cms\Controllers\Media in favour of the backend one. Fixed other references to moved pieces of the Media Manager. Finally a proper fix for https://github.com/octobercms/october/pull/2604
2017-10-08 23:12:04 -06:00
datune
4a0a488ff6
Account for NestedTree Trait setting ( #3143 )
...
* Account for NestedTree Trait setting
See https://github.com/rainlab/blog-plugin/issues/338 . The Lists Widget did not account for the NestedTree setting.
* Update Lists.php
2017-10-04 14:04:12 -06:00
jimcottrell
263200fd7b
Support form field commentHtml flag for section, checkbox, and switch types ( #3150 )
2017-10-03 13:41:14 -06:00
Luke Towers
c2f204008b
Moved the MediaManager widget from the CMS module to the System module
2017-09-27 22:23:58 -06:00
Samuel Georges
58aa360eab
The text input value should be explicit, not mutated, ever.
...
Rollback fb893efb9ca3a0fa25e3bb9fd01f55cef6216473
Refs #2942
Refs #3101
2017-09-15 08:41:05 +10:00
Samuel Georges
cd76f2e04f
Field definition should override magic
2017-09-13 14:29:42 +10:00
Luke Towers
9565565865
Add ignoreTimezone option to datepicker field and column types.
...
Adds the ability to specify an `ignoreTimezone: true` option on the config for a datepicker form widget or date column type. This will ignore both October's and the backend user's timezone settings to display the date exactly as it is stored.
2017-09-10 22:39:15 -06:00
Samuel Georges
8a1b060a29
Tidy up from #3084
2017-09-06 09:00:53 +10:00
Jofry S
2c97c55ea8
Allow simple pagination option on ListControllers
2017-09-05 13:33:51 +10:00
Luke Towers
7c3d4705fc
Support firstDay in date & date range filters
...
Ref: 962aa32a60 (commitcomment-23597564)
2017-08-11 08:59:06 -06:00
Luke Towers
a705a70f35
Cleanup for #2856
...
Removed `minNumber` and `maxNumber` options, they are not enforceable on the client side without a lot more work. Added `number` filter type, added missing numberrange filter template, consolidated styles for filter-date and filter-number filters.
2017-08-05 18:10:36 -06:00
Luke Towers
be87fbbb87
added feature to allow filtering over a number range ( #2856 )
...
Original by @purposebuiltscott in #2856
2017-08-05 14:01:59 -06:00
Luke Towers
e41f047722
Support yearRange property on the daterange scopetype
2017-08-05 12:40:15 -06:00
Luke Towers
67fb168e6c
Support yearRange property on the date scopetype
2017-08-05 12:39:20 -06:00
Luke Towers
962aa32a60
Improve flexibility of scope type properties
...
Improves the flexibility of scope type properties by removing conditional logic specific to the date and daterange scope types and laying the groundwork for scopes to define their own custom properties that can be loaded from the scope configuration defined by the developer.
2017-08-05 12:38:20 -06:00
Samuel Georges
953336d250
Option "searching" defaults to false
2017-07-15 14:34:53 +10:00
Samuel Georges
db943c077b
This doesn't need to be a form
2017-07-15 12:29:20 +10:00
Samuel Georges
4239caf9eb
Enable searching via config
...
Only the ServerEventDataSource supports this for now. This is purely to satisfy https://github.com/rainlab/translate-plugin/pull/272
Clean up and fix net spam
2017-07-15 12:18:11 +10:00
Samuel Georges
3145611150
Add search to table widget
...
Refs https://github.com/rainlab/translate-plugin/pull/272
Recompile assets
2017-07-15 12:06:50 +10:00
Samuel Georges
dc3e521c36
Merge pull request #2968 from slowpokefarm/master
...
Allow using zero-keys in Filter widget options
2017-07-15 00:05:39 +10:00
Stanislav Rimsha
6f691680cf
Allow using zero-keys in Filter widget options
2017-07-14 15:57:47 +02:00
Samuel Georges
1db67af8e8
Merge remote-tracking branch 'remotes/origin/develop' into l55upgrade
...
Conflicts:
modules/system/lang/en/lang.php
2017-07-11 10:48:54 +10:00
Luke Towers
c9e31fd83b
Support previewMode for the balloon-selector
...
Add support for previewMode in the Balloon Selector form field type.
Refs: #2724 , 5f91c45
2017-07-09 12:53:29 -06:00
Szabó Gergő
f7f507dbdc
Translate the value of the text field ( #2942 )
...
It is a useful feature, if you like to add translatable value.
2017-06-26 09:38:31 -06:00
Samuel Georges
c3570ffd7e
The event emitter should not be a dependency
...
Fixes #2938
2017-06-23 08:11:41 +10:00
Samuel Georges
9eb0cc24ae
Opens a channel for model to talk with form widget
...
.. and controller and beyond.
2017-06-17 21:20:34 +10:00
Samuel Georges
41cc1744f1
Tab panes now support CSS spec
...
See form docs > paneCssClass
2017-06-05 17:37:13 +10:00
Samuel Georges
f0df1f458b
Merge branch 'develop' into l55upgrade
...
Conflicts:
modules/system/assets/ui/storm.css
2017-05-27 22:24:57 +10:00
Priit Perna
2b3b6ece46
Made checkbox quick selection configurable
...
With this change the following configuration will show the quick selection links:
"quickselect" => true
2017-05-18 15:16:42 +03:00
Samuel Georges
7e76f39e6c
Add app.name config
...
Various other refittings
2017-05-16 18:50:41 +10:00
Quezler
cc17b679f1
Code dusting ( #2826 )
...
Code cleaning according to PSR-2 w/ exemptions (mostly dust).
2017-04-24 21:38:19 +10:00
CSNWEB
3cfb8c7587
DRY up the code
2017-04-09 04:01:34 +02:00
CSNWEB
ee2dd7ac1c
Add readOnly / disabled support for checkboxlist
...
Relations rendered with the relation formwidget using checkboxlist are now correctly rendered like in the previewMode.
2017-04-07 21:04:20 +02:00
Samuel Georges
5daf4365ae
Move the change event to the input element
...
This should bubble to the parent control element and persist any logic that depends on the old event
Fixes #2684
2017-04-06 08:08:50 +10:00
Samuel Georges
b841f9e066
{@inheritDoc} -> @inheritDoc
2017-03-16 06:26:14 +11:00
Samuel Georges
5f91c45f79
Implement disabled support for some form widgets
...
Recompile assets
Fixes #2749 (Media Finder)
Fixes #2750 (File upload)
Fixes #2751 (Rich Editor)
Refs #2724
2017-03-14 13:52:47 +11:00
Samuel Georges
e7fa4b832a
Rollback 84b533454e1c803887adaea88ef2c7d611062d31
...
See #2749 , #2750 & #2751 on notes for how to better handle this. Put simply, the control of disabled VS previewMode should be given to the individual form widget, as opposed to the spawning parent.
2017-03-14 06:49:33 +11:00
Luke Towers
3876dc61d1
Rollback c836d92f9f04f66f8e0e1b4d9ba8af83fed3e439
...
Rollback due to discussion on c836d92f9f
. Will be looked into again later when addressing #2311 .
2017-03-13 09:36:49 -06:00
Luke Towers
84b533454e
Allow FormWidgets to be disabled like regular FormFields
...
Adds support for the `disabled` property to FormWidgets so that they will match the behaviour present in regular FormFields. Fixes #2724 and a personal annoyance of mine :)
2017-03-11 02:12:47 -06:00
Luke Towers
c836d92f9f
Make number field an HTML5 number field
...
Makes the `number` form field actually be an HTML5 `type="number"` field.
2017-02-15 08:44:12 -06:00
Samuel Georges
d9a2b88852
Pass records by reference to overcome halting event issue
...
Refs https://github.com/octobercms/october/pull/1853
2017-02-15 05:58:44 +11:00
Luke Towers
9f3c2b8bf6
Switched backend.list.extendRecords event triggering
...
Made the event triggering for the new backend.list.extendRecords event triggering more consistent with the rest of the class.
2017-02-14 02:20:23 -06:00