Skip to content

Discrepancies in DateTimePicker rendering #4931

@epetrow

Description

@epetrow

Describe the bug

There are two discrepancies in the DateTimePicker rendering that have been flagged:

  • In the default rendering of the DateTimePicker component the action buttons have two extra classes k-time-accept and k-time-cancel which are not present in the adaptive rendering.

While these classes have no styles associated with them, they have use cases across the suites.

  • The order of the action buttons in the Adaptive test is wrong since the primary button should always be first

To reproduce

  1. Navigate to the provided links showcasing the rendering and inspect the action buttons
  2. Notice that the aforementioned classes are missing and the order of the buttons is wrong in the DateTimePicker-adaptive test

Expected behavior

Both classes and action button order should match in both tests

Metadata

Metadata

Assignees

No one assigned

    Labels

    BugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions