select 组件在新值为 0 时没有触发 (modelChange) 事件

Open Beginner friendly
#155 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
62/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Stale
Tech stack
angular, typescript
Domain
frontend

Research direction

Reproduce the select behavior in the linked StackBlitz demo, then inspect src/select/select.ts at L116, where the issue points to the likely cause. Confirm that selecting numeric 0 emits the modelChange event, and verify the behavior in the existing project checks.

Written by the indexing model from the issue text.

Description

Issue Type:

  • Bug
  • Feature
  • Help

Version & Environment:
在线demo

Description:
select 选择器在选择 0 (number 类型) 时没有触发 (modelChange) 事件,导致这个问题的代码可能是 L116

Dominant language
TypeScript
Stars
528
Forks
121
PR merge metrics
No merged PRs in 30d

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from ElemeFE/element-angular

All issues in ElemeFE/element-angular

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.