leboncoin/spark-android
View on GitHub[FR]: Fix compilation errors in Chip.md example
Open
#2,104 opened on Jul 27, 2026
componentdocumentationgood first issuepriority:HIGH
Repository metrics
- Stars
- (85 stars)
- PR merge metrics
- (PR metrics pending)
Description
Describe the problem
The multiple-selection code example in Chip.md has two errors:
filter.namecalled on aString(String has no.nameproperty)- Assignment to
unionSelectedwhich is never declared (the variable isselectedFilters)
Describe the solution
Fix both lines:
text = filter,
selectedFilters = if (selected) selectedFilters - filter else selectedFilters + filter
Additional context
Priority: High. Effort: XS.