baidu / baidu/amis

option组件选项placeholder和样式问题

Open
#4,536 1 comment 0 reactions 0 assignees View on GitHub
need confirm
Dominant language
TypeScript
Stars
18.9k
Forks
2.7k
PR merge metrics
No merged PRs in 30d

Description

#### 描述问题:

1. 10版本中option组件选项中会出现placeholder选项
1. 以前的1.9版本中选项边框能根据内容自动包裹,动态显示选项边框宽度

#### 截图或视频:
v1.10.0
![image](https://user-images.githubusercontent.com/37405103/172057850-ae233db9-b2c2-4d03-b2e9-723c56a7bccb.png)
v1.9.1-bata.13
![image](https://user-images.githubusercontent.com/37405103/172058736-83d39f09-3b7a-4028-b800-d5516fbbf82a.png)

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reproducing the option component behavior described for v1.10.0 and compare it with v1.9.1-beta.13 using the screenshots as reference. Trace the option rendering and styling entry points; done means the unintended placeholder option is absent and the border width wraps the option content as expected.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
frontend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.