Skip to content
Snippets Groups Projects
Commit a4cdcf9a authored by Mohammed Shekha's avatar Mohammed Shekha
Browse files

[FIX] web: support readonly attribute on toggle_button widget


before this commit: applying readonly attribute on toggle_button doesn't work,
toggle_button still clickable and value is still changed even though widget is
readonly, there is no effect of readonly attribute on toggle_button widget.

after this commit: if toggle_button widget has readonly attribute then it will
not be clickable, button of toggle_button will be disabled so that user can
easily understand that element is not clickable.

task-2339995

closes odoo/odoo#78793

X-original-commit: b153ded9
Signed-off-by: default avatarAaron Bohy (aab) <aab@odoo.com>
parent 9e48afe5
Branches
Tags
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment