ionic-team / ionic-team/ionic-framework

bug: ion-button should be disabled when used inside disabled fieldset

未关闭
#23,462 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
package: core type: bug
主要语言
TypeScript
星标
52.7k
派生
13.3k
平均合并
1 天 15 小时
30 天内合并 PR
51

描述

# Bug Report

**Ionic version:**
[x] **5.6.8**

**Current behavior:**
`` inside a disabled `` remains not disabled.

**Expected behavior:**
`` inside a disabled `` should become disabled. This is the behavior of a native `` when placed inside a disabled ``.

**Steps to reproduce:**
Put an `` inside a ``. ([CodePen](https://codepen.io/SepehrSepahi/pen/zYZeVJQ))

**Related code:**
```html

Disabled Fieldset
Native Button
Ion-Button

```

贡献指南

打开贡献指南

调研方向

Start with the ion-button component and reproduce the issue using the linked CodePen or a fieldset disabled example. Compare its behavior with the native button, then verify that ion-button becomes disabled when placed inside a disabled fieldset.

由索引模型根据 Issue 内容生成。

评估

技术栈
typescript
领域
frontend
Issue 类型
缺陷
难度
3/5
预计耗时
1-2 天
活跃度
停滞
描述清晰度
描述清楚
新手友好度
45/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。