Commit Graph

26 Commits

Author SHA1 Message Date
Joshua Wilson 6f3d7a58f2 Phpdoc cleanup for System\Traits
removed in WidgetMaker trait

phpdoc cleanup of backend traits and classes

Minor fix for cases when file is not found
2016-02-13 14:06:50 +11:00
Samuel Georges a186a60c43 Fixes the datepicker saving an empty value when disabled
Refs https://github.com/responsiv/campaign-plugin/issues/4
2015-12-09 08:19:53 +11:00
Samuel Georges ef22ac934d DRY up code from #1504 2015-10-17 10:16:49 +11:00
flynsarmy 82c2787f39 Add support for default values in form widgets 2015-10-09 13:51:33 +10:00
Samuel Georges c6bfd5d01c Move this logic to no longer depend on AR model 2015-03-10 09:34:59 +11:00
Samuel Georges 668457b4e6 Updated deprecated references
Str::evalHtmlId -> October\Rain\Html\Helper::nameToId
Str::evalHtmlArray -> October\Rain\Html\Helper::nameToArray
Str::stripHtml -> October\Rain\Html\Helper::strip
Str::limitHtml -> October\Rain\Html\Helper::limit
Str::cleanHtml -> October\Rain\Html\Helper::clean
2015-03-07 12:48:39 +11:00
Samuel Georges 8c41bc181e Model can now resolve this for us 2015-03-07 12:28:50 +11:00
Samuel Georges 507bfab768 !!! *BREAKING*: Form widget base class no longer takes a model as the 2nd argument, it should be passed as `model` in the configuration instead. 2015-03-06 20:37:05 +11:00
Samuel Georges f869b8cc94 Gives FormWidgets the ability to say: "No labels, please"
ping @keiosweb
2015-03-03 20:24:14 +11:00
Samuel Georges 6a2f64757b *** REMOVED ALL DEPRECATED CODE ** 2015-02-14 14:11:25 +11:00
Samuel Georges b74b19741b Unify the logic for getting field values from a dataset
Amongst Form Widgets and "the" Form widget
ping @alekseybobkov
2015-01-05 12:54:14 +11:00
Samuel Georges 5d2a177646 getModelArrayAttribute -> resolveModelAttribute 2015-01-05 11:18:43 +11:00
Samuel Georges d91d4112a5 getLoadData -> getLoadValue 2015-01-05 09:45:04 +11:00
Samuel Georges 0be582c42d getSaveData -> getSaveValue 2015-01-05 09:43:39 +11:00
gergo85 f0005d196b Cleanup
Remove whitespaces.
2015-01-03 12:41:23 +01:00
Samuel Georges ab24c547a2 Move NO_SAVE_DATA to FormField 2014-12-05 16:46:04 +11:00
Samuel Georges 3dbe487698 Various fixes to datepicker and form widget 2014-11-27 19:02:23 +11:00
Sam Georges 23f6d75416 Peer review of #679 2014-10-19 10:58:18 +11:00
Stefan Talen 7dc24cfff1 Updating backend/classes 2014-10-10 23:12:50 +02:00
Sam Georges c8f3c640b8 columnName -> fieldName + general improvements to FormWidgetBase 2014-09-17 16:07:06 +10:00
Sam Georges 8291dbf4d3 Widgets can now state that they contribute no data when the form is saved
Applied to FileUpload.php
2014-09-06 22:22:59 +10:00
Sam Georges 810f545ce8 Missing ref 2014-09-06 21:59:40 +10:00
Sam Georges ae9fddc071 Switch to helper 2014-09-06 21:58:45 +10:00
flynsarmy d0b557cbdf Fix formwidget IDs for nested fields 2014-08-22 15:08:00 +10:00
Sam Georges 294961cf8a Refactor how the Form widget manages fields.
Widgets no longer need to pass configuration through "options".
2014-06-19 21:43:00 +10:00
Sam Georges 71a5dd67ab Welcome to the world, October :-) 2014-05-14 23:24:20 +10:00