Skip to content

feat(cloud-registry): form change events #462

Closed

Description

@uniqueg

Why?

Apps want to warn before users leave a half-filled form (elixir-cloud-aai/cloud-registry-ui#36). ecc-client-elixir-cloud-registry-service-create doesn't tell apps whether its form has changed or was reset. The Cloud Registry UI therefore listens to the inner ecc-input-changed/input events and detects clicks on the inner "Reset" button by its text, which breaks silently if the label or markup changes.

What?

  • Fire a composed event when the form's values change, e.g. ecc-service-form-changed with { dirty: boolean }, where dirty is false again after Reset or after a successful create.
  • Alternatively, a read-only dirty property plus one change event.

Acceptance criteria

  • Apps can track whether the create form has unsaved input without depending on its internals.

Activity

  1. added
    priority: low
    type: feature
    workload: hours
    status: in progress
    and removed on Oct 25, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    priority: lowstatus: in progresstype: featureworkload: hours

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions