ant-design / ant-design/pro-components
🐛[BUG] BetaSchemaForm use of select with groups
- Dominant language
- TypeScript
- Stars
- 4.8k
- Forks
- 1.4k
- Avg merge
- 10h 44m
- Merged PRs (30d)
- 3
Description
### 🐛 bug description
I have found bug with the selector in a BetaSchemaForm. When i use the selector with an avatar inside. If it is not inside a group object works correctly. But if it is inside i cant see the avatar.
Also if i use a group the fields inside the group dont use all the width of the form but when the field is individual. It use all th width.
### 📷 Code example
Here i have an example in codesanbox:
https://codesandbox.io/s/youthful-poincare-2cy8xr?file=/src/App.tsx
### 🏞 Expected results
I want to be able to use all the width when i use valuetype group in the column and also i want to be able to add inside this group the field with an avatar without problem
### © Version information
- ProComponents version: 2.6.13
- umi version: 4.0.76
- Browser enviroment: Google Chrome
- Development enviroment: Windows
Contributor guide
Research direction
Start with the linked CodeSandbox reproduction and compare BetaSchemaForm selectors used directly with those inside a valueType group. Confirm the grouped selector's avatar rendering and field width behavior; done means avatars render and grouped fields use the available form width.
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
- Mostly clear
- Newbie friendliness
- 35/100