Fix bug DNN-4588: set the attribute of checkbox's value when change the check state.