ant-design / ant-design/pro-components
🐛[BUG]BetaSchemaForm layoutType='ModalForm'时, okButtonProps: { danger: true }不生效
Open
- Dominant language
- TypeScript
- Stars
- 4.8k
- Forks
- 1.4k
- Avg merge
- 10h 44m
- Merged PRs (30d)
- 3
Description
https://codesandbox.io/s/fu-ceng-chuang-kou-forked-s8vvq4?file=/App.tsx

Contributor guide
Research direction
Open the linked CodeSandbox and inspect App.tsx to reproduce the BetaSchemaForm case with layoutType='ModalForm' and okButtonProps: { danger: true }. Trace how these props reach the modal's OK button; done means the danger styling is applied in the reproduced case.
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