I have created a simple custom grid editor with one textarea, i would like to add another textarea or rte to the .html file and be able to render both on the .cshtml file.
When adding another code for another textarea to .html, controller.js and .cshtml files grid editor doesn't allow back office data entry and error displayed on rendered .cshtml
It is probable down to my lack of knowledge in Angluar.js and how to map values from html file to controller and make use of model within cs.html file.
Still new and learning Angluar and Umbraco is i plod on.
angular.module("umbraco").controller("my.custom.faqgrideditorcontroller", function($scope){
$scope.control.value.text2 = "my new value";
$scope.control.value.text1 = "my new value";
});
Render multiple editors within custom grid editor
Dear Umbraco Team
I have created a simple custom grid editor with one textarea, i would like to add another textarea or rte to the .html file and be able to render both on the .cshtml file.
When adding another code for another textarea to .html, controller.js and .cshtml files grid editor doesn't allow back office data entry and error displayed on rendered .cshtml
It is probable down to my lack of knowledge in Angluar.js and how to map values from html file to controller and make use of model within cs.html file. Still new and learning Angluar and Umbraco is i plod on.
here is my code .html
controller.js
.cshtml
Any assistance would be helpful
Thanks Dibs
Hi Dibs,
I donĀ“t have the answer to your questions, but I would like to provide a link that might help you in the right direction.
Have you seen the Angular Workbook, if not you can find it here https://github.com/umbraco/AngularWorkbook
Hope this can help you a step or two further to understand Angular in collaboration with Umbraco.
/Dennis
Cheers Dennis
I will go through the workbook when/if i get free time : (
I sorted the issues by removing the $scope assignments within the controller.js file.
thanks Dibs
is working on a reply...