• Tan Le's avatar
    Allow unchecking all compliance frameworks · 7e7e3d11
    Tan Le authored
    This change fixes a bug where user can't uncheck all compliance
    frameworks checkboxes under Merge Request Approvals section under
    Admin area.
    
    Rails form requires an hidden input field to be injected so if
    there is no selection, it still passes the `compliance_frameworks`
    parameter with empty value and sets the value correctly.
    7e7e3d11
admin_merge_requests_approvals_spec.rb 1.21 KB