Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 7511023

Browse files
committed
Fixes #1385
1 parent fb5a75c commit 7511023

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/core/common.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3556,7 +3556,7 @@ def geturl(self):
35563556
for form in forms:
35573557
try:
35583558
for control in form.controls:
3559-
if hasattr(control, "items") and not control.disabled:
3559+
if hasattr(control, "items") and not any((control.disabled, control.readonly)):
35603560
# if control has selectable items select first non-disabled
35613561
for item in control.items:
35623562
if not item.disabled:

0 commit comments

Comments
 (0)