fix the form on edit note page/permit params error [finish #82143656]