admin管理员组文章数量:1419200
I have a react form , i have used a few syncfusion components, now I would want the entire form to be a modal, i am using react-dialog component, that seems to misbehave, the buttons don't work, the api calls don't work, am not sure what to do?
import { DialogComponent } from "@syncfusion/ej2-react-popups";
import Login from "./Login";
const LoginFormModal = () => {
return (
<div className="control-pane">
<div
id="targetElement"
className="control-section col-lg-12 defaultDialogComponent dialog-target"
>
<DialogComponent
id="defaultDialog"
showCloseIcon={true}
visible={true}
width={"700px"}
target={"targetElement"}
isModal={true}
>
<Login />
</DialogComponent>
</div>
</div>
);
};
export default LoginFormModal;
The Login component is the Login form, how to do it?
I had tried few things, including including the etnrie thing in react dialog box component, that resulted in nothing. I need some help
本文标签: reactjsHow to include a form inside a reactdialog component in syncfusionStack Overflow
版权声明:本文标题:reactjs - How to include a form inside a react-dialog component in syncfusion? - Stack Overflow 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1745291205a2651805.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论