角的js + REST API + SharePoint列表 - 验证和编辑不工作 [英] Angular Js + Rest API + Sharepoint List - Validation and Edit not working
本文介绍了角的js + REST API + SharePoint列表 - 验证和编辑不工作的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我有以下code 2的问题。
// http://jsfiddle.net/Jfw9R/7/
- 当我尝试运行该应用程序为主要页面验证不工作 - applicationpage.aspx页面。但是当我使用的主网页验证任何HTML页面工作正常。
- 当我点击在list.html页面编辑。它重定向我edit.html页面。那没问题。但数据是不来了我为他要编辑的员工。当我改变任何输入控制一些文本数据只有到来。我不为什么?
感谢
解决方案
1现在这个,因为我必须提供有NG-form标签,而不是形式,子页面完成。这是edit.html -
I am having 2 problems in below code.
// http://jsfiddle.net/Jfw9R/7/
- Validation is not working when i try to run the application as main page - applicationpage.aspx page. but when i use any html page for main page validation is working fine.
- when i click on edit at list.html page. it is redirecting me to edit.html page. that is ok. but data is not coming for the employee for whom i want to edit. data only coming when i change some text in any input control. i don't why ?
Thanks
解决方案
1 now this is done as i have to provide there ng-form tag instead of form in child page. which is edit.html –
这篇关于角的js + REST API + SharePoint列表 - 验证和编辑不工作的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文