You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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