Replies: 1 comment 1 reply
-
pywebio设计如此,按钮的点击事件默认是不会被忽略的。 你的需求,其实可以转换为在显示一个input_group的时候,不相应其他input_group的创建请求。可以在显示一个input_group之前检查当前有没有其他input_group正在显示,如果有则提示用户先提交或取消当前的input_group。而“检查当前有没有其他input_group正在显示”可以通过在调用input_group()之前设置一个会话内的全局变量来实现 |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
我写了一个登陆组,还有注册组
当我点击注册组,在点击登陆组,点击取消后,会弹回注册组
就是点击第一个input_group,再点另一个input_group,点击取消或者提交后,会弹出第一个input_group,但是这个input_group我并不想看到QAQ
Beta Was this translation helpful? Give feedback.
All reactions