反应材料-UI形式组件
I have a problem I can't get the data values from the formContent component. Can you help me please. You will find the codesandbox link
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您需要将
应用程序
(root component)与appContext
提供商包装。AppContext
从formcontent
移动到app
组件,并使用您想要的值和设置和其他功能创建上下文。formulairairevalidation
和摘要
组件中使用此上下文。工作demo
You need to wrap your
App
(root component) with theAppContext
provider.AppContext
fromformContent
toApp
component and create context with values and setters and other functions you want.formulaireValidation
andSummaryForm
components.Working Demo