Value gets removed after set_value

Not sure if this is a bug in the framework, pls see video

ERPNext: v10.1.33 (master)
Frappe Framework: v10.1.31 (master)

On first click on the checkbox, the value after set_value gets removed.

Which doctype it is?

it’s a custom doctype

Can you share your code?

Here’s my code:

 active_place: function(frm){
        if (frm.doc.active_place){

Apologies for late reply,

I just tried it, it works.