Skip to content
Snippets Groups Projects
Commit b153ded9 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#76426

Signed-off-by: default avatarAaron Bohy (aab) <aab@odoo.com>
parent 1cf0bfc2
Branches
Tags
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment