Skip to content

The "missing parameters" prompt doesn't properly respect the default value #9323

Closed
@bpmct

Description

@bpmct

Steps to reproduce

  1. Create a workspace from a template
  2. Add a new select parameter to the template:
    data "coder_parameter" "select_thing" {
      name = "select_thing"
      default = "option1"
      display_name = "Select a thing"
      type = "string"
      option {
        name = "option1"
        value = "option1"
      }
      option {
        name = "option2"
        value = "option2"
      }
      option {
        name = "option3"
        value = "option3"
      }
    }
  3. Update the workspace. Do not change the default value when the pop-up appears

Current behavior

If you press "Update" without un-toggling and re-toggling the default value, the pop up will appear again

Screen.Recording.2023-08-24.at.10.01.14.PM.mov

Expected behavior

When you press "Update" and the default value is selected, it builds the workspace with the default value

Front logo Front conversations

Metadata

Metadata

Assignees

Labels

s2Broken use cases or features (with a workaround). Only humans may set this.siteArea: frontend dashboard

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions