This is a migrated thread and some comments may be shown as answers.

Dropdownlist loses tabstop when disabled, permanently.

1 Answer 106 Views
DropDownList
This is a migrated thread and some comments may be shown as answers.
John
Top achievements
Rank 2
Iron
Iron
Veteran
John asked on 03 Aug 2020, 01:21 PM
Hi.  When we lock a dropdownlist, it loses its tabindex.  I expected this, or I expected it to go negative.  However when you re-enable the control, it never gets a tabindex back.   The main issue is that I have kendo controls that are cascading off of each other.  the  cascading ones get disabled before their filter loads and then re-enabled.  this effectively means that none of our cascading controls can be tabbed to.  We had this issue reported to us by one of our clients.  I have implemented a hacky fix that uses jquery to put a tabindex=0 on the control again after cascading in the datasource request, but am hoping for a more "correct" solution.

Is there a way to prevent the empty controls from disabling?  I also can't explain why, but "some" of our cascading controls don't actually disable on first load but do after you change from the initial value of the top control and back to empty again.  

1 Answer, 1 is accepted

Sort by
0
Petar
Telerik team
answered on 05 Aug 2020, 07:46 AM

Hi John,

I've just tested our DropDownList Overview and Cascading DropDownList demos and I cannot reproduce the reported behavior with the missing tab index. Every time a value is selected in the DropDownList, its child list gets enabled and this newly enabled component has a 'tabindex="0"' attribute. 

Can you check the linked above demos and let me know if the reported behavior is reproducing in the above links? If the two demos demonstrate what you want to implement in your application, to be able to help you with the current issue, I will need a runnable example in which the behavior can be replicated. Another thing you can do is to compare the implementation in your application with the implementation in the application you are working on and try to identify the source of the issue.

You can isolate the issue in a new project and send me this project here or if you don't want to publicly share your code, you can submit a support ticket with the runnable example.

Regards,
Petar
Progress Telerik

Tags
DropDownList
Asked by
John
Top achievements
Rank 2
Iron
Iron
Veteran
Answers by
Petar
Telerik team
Share this question
or