Form submission should save number fields as numbers in JSON
还没有人认领这个 Issue。
评估
调研方向
首先定位表单数据获取器以及对 的处理。确认提交的数值在 JSON 中以数字形式存储,并确认所示的 Python 比较与 data.cost 能按预期工作。
由索引模型根据 Issue 内容生成。
描述
In order for this event handler to work, cost's type must be an integer.
if data.cost >= 500:
change_state('Awaiting CFO Approval')
Which means the form data grabber should recongise the <input type="number"> and save it as a number. This is like the one time when JavaScript is easier :P I assume there's no way to enable loose typing in event handlers, @mjumbewu, but worth asking..
- 主要语言
- Python
- 星标
- 22
- 派生
- 5
- PR 合并指标
- 30 天内没有已合并 PR
贡献指南
这个仓库没有索引到贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
CodeForPhilly/stately 的其他 Issue
-
难度 5/5 一周以上 新手友好度 15/100
CodeForPhilly/stately#60 ·
-
难度 5/5 一周以上 新手友好度 20/100
CodeForPhilly/stately#59 · 1 条评论 ·
-
难度 5/5 一周以上 新手友好度 28/100
CodeForPhilly/stately#58 · 1 条评论 ·
-
难度 5/5 一周以上 新手友好度 25/100
CodeForPhilly/stately#57 ·
-
Search case list 未关闭api ui
难度 3/5 1-2 天 新手友好度 35/100
CodeForPhilly/stately#55 ·
查看 CodeForPhilly/stately 的全部 Issue
相似的 Issue
-
agent-ready documentation needs-triage
难度 1/5 1-3 小时 新手友好度 88/100
-
documentation
难度 1/5 1 小时以内 新手友好度 91/100
-
workflow-status page template still says reusable workflows are "triggered only by workflow_call:" 未关闭
难度 1/5 1 小时以内 新手友好度 92/100
-
instance instance add
难度 1/5 1 小时以内 新手友好度 72/100
searxng/searx-instances#939 · 1 条评论 ·
-
area-deployment area-integrations triage:bot-seen
难度 2/5 半天 新手友好度 86/100