Skip to content

Fix disabled style for mirror settings field

Paul Slaughter requested to merge 338792-fix-field-disabled-style into master

What does this MR do and why?

This MR fixes some disabled styling for dropdown fields in Settings > Repository > Mirror. It does this by replacing gl-form-input styles with gl-form-select styles for some <select> fields. See this comment for investigation on why this fixes the issue.

Screenshots or screen recordings

Before After
Screenshot_from_2022-01-17_10-22-56 Screenshot_from_2022-01-17_10-37-25

How to set up and validate locally

  1. Create a project
  2. Go to Settings > Repository > Mirroring repositories
  3. Hover over the Mirror direction and Authentication method

You'll need to have a valid license uploaded for the Mirror direction to be enabled with multiple select options.

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Related to #338792 (closed)

Merge request reports