Dependent field conditions
维护者通常 1 天内回复
还没有人认领这个 Issue。
评估
调研方向
Start by comparing the behavior described here with the earlier fix in #11910 and the regression in #12362. Reproduce the three-field sequence: enable field 1, enter text in field 2, then disable field 1. Done means field 3 also disappears when field 2 is hidden.
由索引模型根据 Issue 内容生成。
描述
Bug description
When a field has a condition based on another conditional field and you update the first field, the third field doesn't take effect.
[field 1, toggle]
[field 2, text, condition: show when field 1 is true]
[field 3, text, condition: show when field 2 is not empty]
enable field 1, you see field 2. field 3 is hidden.
type into field 2, field 3 appears.
disable field 1, field 2 disappears, field 3 remains but should also disappear.
How to reproduce
.
Logs
Environment
Statamic 6 beta 4
Installation
Fresh statamic/statamic site via CLI
Additional details
This was initially solved in #11910, but regressed in #12362 (semi-intentionally). I felt that issue was more important to get out there than this one which is more of an edge case.
- 主要语言
- PHP
- 星标
- 4.9k
- 派生
- 647
- 平均合并
- 1 天 8 小时
- 30 天内合并 PR
- 100
环境准备
这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
statamic/cms 的其他 Issue
-
难度 1/5 1 小时以内 新手友好度 82/100
维护者通常 1 天内回复
-
There's a default crop when cropping images可能已有人在做 关联的 PR 仍在进行中或已合并。 未关闭assets
难度 2/5 1-3 小时 新手友好度 65/100
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 74/100
维护者通常 1 天内回复
-
accessibility
难度 2/5 1-3 小时 新手友好度 74/100
维护者通常 1 天内回复
-
antlers
难度 2/5 1-3 小时 新手友好度 66/100
维护者通常 1 天内回复
相似的 Issue
-
难度 1/5 1 小时以内 新手友好度 78/100
backdrop-contrib/commerce#60 ·
-
难度 1/5 1 小时以内 新手友好度 76/100
-
难度 1/5 1 小时以内 新手友好度 84/100
TYPO3-Documentation/TYPO3CMS-Reference-CoreApi#7330 ·
维护者通常 1 天内回复
-
dependencies
难度 2/5 1-3 小时 新手友好度 67/100
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 68/100