feat: Add optional 'radio'/'checkbox' to SELECT control popup / 为 SELECT 控件弹窗添加视觉样式选项#1321
Open
valeriancure wants to merge 1 commit intoHufe921:mainfrom
Open
feat: Add optional 'radio'/'checkbox' to SELECT control popup / 为 SELECT 控件弹窗添加视觉样式选项#1321valeriancure wants to merge 1 commit intoHufe921:mainfrom
valeriancure wants to merge 1 commit intoHufe921:mainfrom
Conversation
- Add selectStyle property ('checkbox' | 'radio') to IControlSelect interface
- Display checkbox or radio button in popup based on selectStyle
- Behavior controlled independently by isMultiSelect property
- Update documentation (Chinese and English)
- Add test examples: allergies (checkbox multi-select) and blood type (radio single-select)
3bbe44b to
2496c30
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description / 描述
Add
selectStyleproperty to SELECT control to display checkboxes or radio buttons in the popup, improvingUX clarity.
为 SELECT 控件添加
selectStyle属性,可在弹窗中显示复选框或单选框,提升用户体验清晰度。Changes / 变更
Add
selectStyle?: 'checkbox' | 'radio'property toIControlSelect/ 添加selectStyle?: 'checkbox' | 'radio'属性到IControlSelectUpdate documentation and add test examples / 更新文档并添加测试示例
Examples / 示例