Skip to content

TextBox readonly state behaves different compared to other editor components #7109

@gdenchevprog

Description

@gdenchevprog

Bug report

Ticket Id: 1585476

Reproduction of the problem

You can use the API demos of the TextBox and TextArea to observe the difference in behavior.

https://demos.telerik.com/kendo-ui/textbox/api

https://demos.telerik.com/kendo-ui/textarea/api

Click on the Readonly button in both cases and then try to click on the textarea/textbox.

In the case of the textarea, you're still able to interact with the element, however, you're unable to change its value.

In the case of the textbox, all click events are disabled and you can't interact with the element at all. This behavior is more similar to the disabled state rather than the readonly.

Other editor widgets behave the same way as the textarea.

Current behavior

The textbox acts as if its disabled instead of readonly.

Expected/desired behavior

You should still be able to perform clicks on the textbox in readonly mode.

Environment

  • Kendo UI version: 2024.1.130
  • jQuery version: 3.7.0
  • Browser: [all]

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions