Skip to content

Feature Request: Ability to remove labels that are greater than maximum duration #4

@GabRoyer

Description

@GabRoyer

Issue

When using DurationPicker in, for example, .minuteSecond mode with a maximumDuration of 180 , the minutes wheel shows numbers past 3 minutes, even though these would never ever be valid.

Proposed Solution

Add another setting, maybe .pruneLabels to optionally remove those excess labels.

Discussion

I really like the component you've built. I'd submit a PR myself, but I really don't know UIKit... That being said, I might contribute a PR for a SwiftUI wrapper very soon (Here it is #5 !).

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions