You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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 !).
The text was updated successfully, but these errors were encountered:
Thanks @GabRoyer, the initial implementation was just to match UIDatePicker as much as possible, but agree this would make a good addition! Will add this if I find the time, but also leaving it open for other contributors
Issue
When using
DurationPicker
in, for example,.minuteSecond
mode with amaximumDuration
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 !).
The text was updated successfully, but these errors were encountered: