Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

关于组件使用 Elm::popover() 生成提示 #58

Open
lizejun999 opened this issue Sep 18, 2020 · 4 comments
Open

关于组件使用 Elm::popover() 生成提示 #58

lizejun999 opened this issue Sep 18, 2020 · 4 comments
Labels
enhancement New feature or request

Comments

@lizejun999
Copy link

$school_account = Elm::input('school_account','登录账号')->required();
$popover = Elm::popover();
$popover->content('登录密码由系统自动生成, 用户可登录后自主修改!');
$school_account->info($popover);

组件这样用但是前段显示错误

显示内容为: { "type": "popover", "value": "", "props": { "content": "登录密码由系统自动生成, 用户可登录后自主修改!" } }

@xaboy
Copy link
Owner

xaboy commented Sep 18, 2020

感谢反馈,我检查一下

@lizejun999
Copy link
Author

有解决办法, 请发布一下谢谢

@xaboy
Copy link
Owner

xaboy commented Sep 18, 2020

我刚刚检查了下,这种使用方式是错误的.
popover应该配置到 formconfig
这个后面可以优化一下,支持单独配置组件的 info 类型

@xaboy xaboy added the enhancement New feature or request label Sep 18, 2020
@lizejun999
Copy link
Author

lizejun999 commented Sep 18, 2020 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants