Skip to content

Fix Color Picker bugs, optimize HexColorTextField, and update API#146

Merged
Sanlorng merged 11 commits intocompose-fluent:devfrom
Moriafly:fix/color-picker-bugs
Jan 13, 2026
Merged

Fix Color Picker bugs, optimize HexColorTextField, and update API#146
Sanlorng merged 11 commits intocompose-fluent:devfrom
Moriafly:fix/color-picker-bugs

Conversation

@Moriafly
Copy link

No description provided.

Refactors the advanced color fields in ColorPicker to use new ValueLabelTextField and ValueTextField composables, improving code reuse and input parsing for RGB and HSV fields. Moves and rewrites HexColorTextField and AlphaTextField for better modularity and input handling. Updates variable naming for consistency and adds visual transformation for hex input. Suppresses deprecation warnings where needed.
Added maxTextLength parameter to ValueLabelTextField, ValueTextField, HexColorTextField, and AlphaTextField to restrict user input length for color values. This improves input validation and prevents users from entering excessively long values in color picker fields.
@Sanlorng Sanlorng self-requested a review January 13, 2026 05:19
@Sanlorng Sanlorng merged commit 070131b into compose-fluent:dev Jan 13, 2026
2 of 10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants