changeset f07512732ec3 in sao:5.8 details: https://hg.tryton.org/sao?cmd=changeset;node=f07512732ec3 description: Set readonly both inputs of numeric dict fields
issue9868 review333201002 (grafted from 43ee459ad6fb363e40029a7504e8552cb4653c56) diffstat: src/view/form.js | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-) diffs (14 lines): diff -r fc2558026da8 -r f07512732ec3 src/view/form.js --- a/src/view/form.js Wed Dec 23 21:28:35 2020 +0100 +++ b/src/view/form.js Tue Jan 05 11:59:43 2021 +0100 @@ -4656,6 +4656,10 @@ this.input_text.val(''); } }, + set_readonly: function(readonly) { + Sao.View.Form.Dict.Float._super.set_readonly.call(this, readonly); + this.input_text.prop('readonly', readonly); + } }); Sao.View.Form.Dict.Numeric = Sao.class_(Sao.View.Form.Dict.Float, {