Environment spec search should not be case-sensitive on the "New Feature Flag" page

Summary

When creating a new feature flag, the "Environment Spec" search is case sensitive, i.e. a query of "test" won't match "Test Environment":

Screen_Shot_2019-07-08_at_11.13.38_AM

Screen_Shot_2019-07-08_at_11.14.00_AM

Steps to reproduce

  • Create a new environment named "Test Environment"
  • Navigate to the feature flags page and click "New Feature Flag"
  • In the "Search an environment spec" input, type "test"

Output of checks

This bug happens on GitLab.com.