关于组件使用 Elm::popover() 生成提示
$school_account = Elm::input('school_account','登录账号')->required(); $popover = Elm::popover(); $popover->content('登录密码由系统自动生成, 用户可登录后自主修改!'); $school_account->info($popover);
组件这样用但是前段显示错误
显示内容为: { "type": "popover", "value": "", "props": { "content": "登录密码由系统自动生成, 用户可登录后自主修改!" } }
感谢反馈,我检查一下
有解决办法, 请发布一下谢谢
我刚刚检查了下,这种使用方式是错误的.
popover应该配置到 form的config中
这个后面可以优化一下,支持单独配置组件的 info 类型
好的。谢谢。
在2020年09月18日 16:24,xaboy 写道: 我刚刚检查了下,这种使用方式是错误的. popover应该配置到 form的config中 这个后面可以优化一下,支持单独配置组件的 info 类型
—You are receiving this because you authored the thread.Reply to this email directly, view it on GitHub, or unsubscribe. [ { "@context": "http://schema.org", "@type": "EmailMessage", "potentialAction": { "@type": "ViewAction", "target": "https://github.com/xaboy/form-builder/issues/58#issuecomment-694731105", "url": "https://github.com/xaboy/form-builder/issues/58#issuecomment-694731105", "name": "View Issue" }, "description": "View this Issue on GitHub", "publisher": { "@type": "Organization", "name": "GitHub", "url": "https://github.com" } } ]