Skip to content

Can't type value for inputs with % units #6179

@cnotv

Description

@cnotv

Setup

  • Rancher version: 2.6.5
  • Browser type & version: all

Describe the bug
In input with units % it's not possible to type the value.

To Reproduce

  • Open any Cluster -> Workload -> Deployment form
  • Open Scaling and Upgrade Policy tab
  • Type any number

Result
Value is cancelled and any typed key is removed as well.

Expected Result
It's possible to type as using the unit Pods

Screenshots

Screen.Recording.2022-06-15.at.17.20.24.mov

Additional context
Code not changed since 22 months, however the bug seems to appear after 2.6.4.
https://github.com/rancher/dashboard/blob/master/shell/edit/workload/Upgrading.vue#L174-L179

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions