Skip to content

onFocus and onBlur are still called in disabled Timepicker #1200

Description

@qroll

Component
Timepicker

Describe the bug
onFocus and onBlur are called even when input is disabled

To Reproduce

<Form.Timepicker
    label="This is the disabled state"
    disabled
    onFocus={() => console.log("@@@@@@ focus")}
    onBlur={() => console.log("@@@@@ blur")}
/>

Expected behavior
onFocus and onBlur should not be invoked when disabled={true}

Additional context
Check the other form inputs as well

Ensure that onFocus is not called when input is disabled

No activity

Activity on this issue will appear here.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    type: bugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions