ORIENT/modules/backend/formwidgets
Ben Thomson cca8da2af3
Get correct model when not using ID for "keyFrom" in Record Finder (#4977)
getLoadValue() was previously using the find method for getting the selected model on load when not using the Record Finder in relation mode.

This means it was searching by the primary key, regardless of whether the keyFrom setting on the Record Finder widget was changed. This has the effect of the keyFrom setting being correctly used to determine the value of the record finder field when a model is selected, but the widget being unable to find the model when it refreshes or reloads.

This change instead searches for the field's value in the column specified for the keyFrom setting, allowing us to use a different identifying column for loading the selected record.
2020-03-13 07:47:01 +08:00
..
codeeditor Peer review visibility changes 2019-09-11 20:54:14 +10:00
colorpicker Remove the IE5 - IE7 Holly Hack support (#4594) 2019-09-04 09:32:29 -06:00
datatable/partials Create initial DataTable form widget 2015-01-03 11:57:50 +11:00
datepicker/partials Set the datetime value with time 00:00:00 when using the date mode (#4111) 2019-02-06 10:23:50 -06:00
fileupload Set Dropzone.js uploaders to have no time limit (#4878) 2020-01-14 16:47:25 -06:00
markdowneditor Apply z-index change to CSS 2020-02-09 17:27:18 +11:00
mediafinder Add escaping of values to more backend fields (#4296) 2019-04-26 12:05:08 -06:00
nestedform Recompile assets 2019-01-15 13:35:12 -06:00
permissioneditor Added support for mode: switch to the PermissionEditor formwidget 2019-10-15 16:46:02 -06:00
recordfinder Fix race condition when clearing recordfinder value (#4802) 2019-12-04 10:14:19 -06:00
relation/partials Remove cms.tempDir - use temp_path() 2015-02-07 15:42:20 +11:00
repeater Add "styles" for repeater widgets (#4877) 2020-02-02 09:12:01 +08:00
richeditor Improve German translation (#4961) 2020-03-04 14:49:54 -06:00
taglist/partials Add preview mode for taglist widget (#4349) 2019-06-19 08:22:36 +08:00
CodeEditor.php Code quality clean up (#4449) 2019-07-18 08:50:37 -06:00
ColorPicker.php Minor peer review 2018-08-21 13:24:59 +10:00
DataTable.php Improve internal docs for DataTable callback handler 2019-10-07 22:19:13 +08:00
DatePicker.php Code quality clean up (#4449) 2019-07-18 08:50:37 -06:00
FileUpload.php Removed double checking if file is protected in FileUpload widget (#4753) 2019-11-11 12:34:58 -06:00
MarkdownEditor.php Fix media manager access (#4305) 2019-05-10 20:59:57 +03:00
MediaFinder.php Check user permission for the mediafinder formwidget. 2019-11-12 12:32:17 -06:00
NestedForm.php Improve support for previewMode in Repeaters & NestedForms 2019-08-10 09:28:01 -06:00
PermissionEditor.php Added ability to filter down the permissions presented by the PermissionEditor 2019-10-15 17:37:59 -06:00
RecordFinder.php Get correct model when not using ID for "keyFrom" in Record Finder (#4977) 2020-03-13 07:47:01 +08:00
Relation.php Add support for order option on relation FormWidget (#4654) 2019-10-06 00:24:31 -06:00
Repeater.php Add "styles" for repeater widgets (#4877) 2020-02-02 09:12:01 +08:00
RichEditor.php Fix empty Richeditor class lists from breaking widget (#4725) 2019-11-06 17:44:46 +08:00
TagList.php Ensure the the TagList FormWidget is respecting relationship constraints (conditions & scope) 2019-08-14 19:58:42 -06:00