Skip to content

[Bug]: validation bug in add provider instance form #2813

@sarnakov

Description

@sarnakov

Before submitting

  • I searched existing issues and did not find a duplicate.
  • I included enough detail to reproduce or investigate the problem.

Area

apps/desktop

Steps to reproduce

  1. Open Add provider instance
  2. Select opencode
  3. Go to Step 2
  4. Leave Instance ID empty (required field)
  5. Click Next
  6. Click Add instance
  7. The instance is not being added and nothing is going on

Expected behavior

Validation should trigger on clicking "Next" — navigation to the next step should be blocked until all required fields are filled in.

Actual behavior

The validation is triggered only when Add instance button is clicked

Impact

Minor bug or occasional failure

Version or commit

0.0.24

Environment

No response

Logs or stack traces

Screenshots, recordings, or supporting files

image.png
image.png
image.png

Workaround

Adding the Instance ID before clicking Next button.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething is broken or behaving incorrectly.needs-triageIssue needs maintainer review and initial categorization.

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions