Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: 🎸 [JIRA:IOSSDKBUG-434] filterFeedBack list mutil selections shown in section(cherrypick) #869

Merged

Conversation

restaurantt
Copy link
Contributor

No description provided.

filterFeedBack list mutil selections shown in section
@restaurantt restaurantt requested a review from a team as a code owner November 7, 2024 03:11
@restaurantt restaurantt requested review from billzhou0223 and removed request for a team November 7, 2024 03:11
public init(id: String = UUID().uuidString, name: String, value: [Int], valueOptions: [String], allowsMultipleSelection: Bool, allowsEmptySelection: Bool, barItemDisplayMode: BarItemDisplayMode = .name, isSearchBarHidden: Bool = false, icon: String? = nil, itemLayout: OptionListPickerItemLayoutType = .fixed, displayMode: DisplayMode = .automatic) {
/// Enum for list show entries section
/// The default value is `.default`.
public enum ListEntriesSectionMode {
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nesting Violation: Types should be nested at most 1 level deep (nesting)

#else
.foregroundStyle(Color.preferredColor(.primaryLabel))
#endif
if !disableListEntriesSection, _value.count > 0 {
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Empty Count Violation: Prefer checking isEmpty over comparing count to zero. (empty_count)

@dyongxu dyongxu merged commit 74a403c into SAP:rel-4.2 Nov 7, 2024
12 checks passed
@restaurantt restaurantt deleted the rel-4.2-filterFeedback-mutilSelection branch November 22, 2024 02:10
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