Skip to content

如何给put_input加上valid_funcs验证用户输入 #438

Description

@kitty-eu-org

注: 对于PyWebIO使用咨询或对于其他人也可能有帮助的问题,请考虑移至 Discussions 进行发帖。

BUG描述
描述BUG表现以及复现方式。
如果浏览器控制台有报错以及脚本抛出异常也请将报错信息附上
我想随着用户输入验证用户输入是否合法,但是目前好像只支持input的validate函数

环境信息

  • 操作系统及版本:
  • 浏览器及版本:
  • Python版本: 使用 python3 --version 查看
  • PyWebIO版本: 使用 python3 -c "import pywebio;print(pywebio.__version__)" 查看

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions