[英]How to create popup in lightning web component
Page which will display New Milestone popup in the org, there should be one button for Add new milestone.将在组织中显示新里程碑弹出窗口的页面,应该有一个用于添加新里程碑的按钮。 On click of this button, popup will ask for milestone details and after click on save button this new milestone details will add to DB.单击此按钮,弹出窗口将询问里程碑详细信息,单击保存按钮后,此新里程碑详细信息将添加到数据库中。
Milestone is a custom object.里程碑是自定义object。
Create lwc component target for lightning__RecordAction.为 lightning__RecordAction 创建 lwc 组件目标。 You can place your your code there.您可以将您的代码放在那里。
If Save is not working, feel free the paste your error message, we can help better?如果保存不起作用,请随时粘贴您的错误消息,我们可以提供更好的帮助吗?
If you want to make your custom popup, see below link https://www.infallibletechie.com/2020/03/popup-using-lightning-web-component-lwc.html如果您想制作自定义弹出窗口,请参见下面的链接https://www.infallibletechie.com/2020/03/popup-using-lightning-web-component-lwc.html
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.