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
I can't get the validation to work in Umbraco 8.2 and higher and DocTypeGridEditor 1.1.0 and lower.
When i create a simple doctype with two fields, name and e-mailaddress, and enable validation on these fields, in DTGE the fields get a red border but you can submit the form without gettings validation errors.
Is there build in validation support for DTGE?
This is a known issue with DTGE unfortunately.
The good news is, I have submitted a PR to get validation working. There are a couple of issues to resolve, but it's imminent!
Keep an eye on the PR in the DTGE github repo
Thank you very much for your reply and for creating this PR! In my case it works like a charm! The validation messages are in English (we use the Dutch translation in the backoffice for this project) but that does not matter. Keep up the good work!
I had an little issue when clicking on the close button of the editordialog. The first control in the grid got deleted instead of the empty editor.
Therefore I made a change to doctypegrideditor.controllers.js on line 98.
$scope.removeControl($scope.area, $scope.control.$index -1);
$scope.removeControl($scope.area, $scope.area.controls.length - 1);
Now the latest added control is deleted if it's empty.
For some reason $scope.control.$index is always 1, so always the first grid element got deleted.
Am trying to find time to address the minor issues, thanks for letting me know of this one!
is working on a reply...
Write your reply to:
Image will be uploaded when post is submitted