Skip to content

TimePicker minHour, maxHour are throwing exception when hour is out of their range #1916

Description

@NickIliev

When we have set minHour or/and maxHour and the user picks a hour smaller/larger then the pre-set limitations we are throwing an exception.

For example:

<TimePicker hour="5" minute="30" minHour="3" maxHour="7" />

This will create a time picker with all possible hours
and will throw exception when hour is smaller then 3 and larger then 7

Error: Hour property value (02:00) is not valid. Min time: (03:00), max time: (07:59).

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugos: androidready for testTSC needs to test this and confirm against live production apps and automated test suites

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions