Uploaded image for project: 'Compass '
  1. Compass
  2. COMPASS-7902

Add disabled prop and styles to CodeMirror to match TextInput behaviour

    • Type: Icon: Task Task
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 1.43.1
    • Affects Version/s: None
    • Component/s: None
    • None
    • Developer Tools
    • 3
    • Not Needed
    • Iteration Big Dipper

      Right now disabled query bar inputs when AI is fetching focusable but you can't type in them. They don't have the same disabled visual effect as the text inputs, because our CodeMirror editor doesn't accept a disabled prop and doesn't set styles accordingly. At the same time, text inputs on designs do not have a grey background. Iterate on this with the design team to improve behaviour.

            Assignee:
            rhys.howell@mongodb.com Rhys Howell
            Reporter:
            alena.khineika@mongodb.com Alena Khineika
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: