[bug] input-mask does not treat my regex as I would expect
@atk 已经在做这个了。
开始于 2026年7月5日。
评估
这个 Issue 还没有评估数据。
描述
Here is my codesandbox where I tried some experiments.
I just wanted to see if I can make the input accept any number between 0 and 255 and block the user's input whenever they're typing something that would result in an invalid value.
As you can see in the codesandbox, I've tried 3 different ways and they all fail to behave as desired in their own unique ways.
- 主要语言
- TypeScript
- 星标
- 1.6k
- 派生
- 162
- 平均合并
- 19 小时 40 分钟
- 30 天内合并 PR
- 8
贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
solidjs-community/solid-primitives 的其他 Issue
-
bug
难度 2/5 1-3 小时 新手友好度 72/100
solidjs-community/solid-primitives#1059 · 1 条评论 ·
-
bug
难度 3/5 1-2 天 新手友好度 68/100
-
enhancement
难度 4/5 3-5 天 新手友好度 48/100
-
bug
难度 3/5 1-2 天 新手友好度 55/100
solidjs-community/solid-primitives#1000 · 3 条评论 · 5 个 reaction ·
-
enhancement
难度 4/5 3-5 天 新手友好度 48/100
查看 solidjs-community/solid-primitives 的全部 Issue
相似的 Issue
-
bug(cli): hapi doctor inline-media prints a fabricated B:\ helper-script path in packaged installs 未关闭
难度 2/5 1-3 小时 新手友好度 70/100
-
Crush 未关闭
难度 1/5 1 小时以内 新手友好度 85/100
catppuccin/catppuccin#3125 ·
-
难度 1/5 1 小时以内 新手友好度 90/100
ElementsProject/cln-application#167 · 1 条评论 · 1 个 reaction ·
-
难度 2/5 1-3 小时 新手友好度 75/100
Quantco/pnpm-licenses#17 ·
-
难度 2/5 1-3 小时 新手友好度 75/100