Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
The existing grid pre value editors don't restore previously set values. Well, boolean, radiobuttonlist, etc. Only things like mediapicker do.
Is this by design? Or is it a bug?
It's bad for my users to have to remember what previous settings were, and re-instate them each time they want to make a change.
Umbrach 7.2.6 by the way.
I've even tried creating my own editor:
Mainfest:
{ propertyEditors: [ { alias: "OnOffPicker", name: "On Off Picker", editor: { view: "~/App_Plugins/OnOffPicker/view.html" } } ], javascript: [ "~/App_Plugins/OnOffPicker/OnOffPicker.controller.js"
] }
Controller:
angular.module("umbraco").controller("OnOffPicker", function ($scope) { if ($scope.model.value === null || $scope.model.value === undefined) { $scope.model.value = ""; } }
);
View:
<div ng-controller="OnOffPicker"> <input name="boolean" type="checkbox" ng-model="model.value" ng-true-value="1" ng-false-value="" /> <pre>{{model | json}}</pre>
But the same problem occurs. Is there an example of how I can code the controller to retrieve and load the previous value from the grid?
Can anyone shed any light on this?
Having this same issue with 7.2.4, anyone know if this was addressed in some later build?
is working on a reply...
Write your reply to:
Upload image
Image will be uploaded when post is submitted
Grid PreValue Editors Not Restoring Values
The existing grid pre value editors don't restore previously set values. Well, boolean, radiobuttonlist, etc. Only things like mediapicker do.
Is this by design? Or is it a bug?
It's bad for my users to have to remember what previous settings were, and re-instate them each time they want to make a change.
Umbrach 7.2.6 by the way.
I've even tried creating my own editor:
Mainfest:
] }
Controller:
);
View:
But the same problem occurs. Is there an example of how I can code the controller to retrieve and load the previous value from the grid?
Can anyone shed any light on this?
Having this same issue with 7.2.4, anyone know if this was addressed in some later build?
is working on a reply...