ant-design / ant-design/pro-components

🐛[BUG] 急!ProFormTimePicker 加个 name 属性后 ,选择时间组件显示 Invalid Date

Open
#8,093 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
4.8k
Forks
1.4k
Avg merge
10h 44m
Merged PRs (30d)
3

Description

### 🐛 bug 描述

ProFormTimePicker 加个 name 属性后 ,选择时间组件显示 Invalid Date

去掉 name 则正常

### 📷 复现步骤

### © 版本信息

- ProComponents 版本: [2.6.45]
- umi 版本
- 浏览器环境
- 开发环境 [e.g. mac OS]

### 🚑 其他信息

image

image

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the issue with ProFormTimePicker version 2.6.45, comparing behavior with and without the name property. Trace the component's value handling and verify that selecting a time no longer displays Invalid Date when name is present.

Written by the indexing model from the issue text.

Assessment

Tech stack
react, typescript
Domain
frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.