Prevent focusing readOnly field/areas on click
This commit is contained in:
parent
74ffbdb0a8
commit
32484c3ae5
@ -64,6 +64,7 @@ TextArea {
|
||||
text: defaultText || ""
|
||||
opacity: enabled ? 1 : theme.disabledElementsOpacity
|
||||
selectByMouse: true
|
||||
activeFocusOnPress: ! readOnly
|
||||
leftPadding: theme.spacing
|
||||
rightPadding: leftPadding
|
||||
topPadding: theme.spacing / 1.5
|
||||
|
@ -52,6 +52,7 @@ TextField {
|
||||
text: defaultText || ""
|
||||
opacity: enabled ? 1 : theme.disabledElementsOpacity
|
||||
selectByMouse: true
|
||||
activeFocusOnPress: ! readOnly
|
||||
leftPadding: theme.spacing
|
||||
rightPadding: leftPadding
|
||||
topPadding: theme.spacing / 1.5
|
||||
|
Loading…
Reference in New Issue
Block a user