Skip to content

panel, flow-item: add beforeClose property #9769

@driskull

Description

@driskull

Check existing issues

Description

Add beforeClose property to both panel and flow-item in order to support stopping a panel from being closed.

Acceptance Criteria

panel, flow-item: add beforeClose property

Relevant Info

Required for dialog component

Which Component

panel, flow-item

Example Use Case

panel.beforeClose = () => Promise.reject();

Priority impact

impact - p1 - need for current milestone

Calcite package

  • @esri/calcite-components
  • @esri/calcite-components-angular
  • @esri/calcite-components-react
  • @esri/calcite-design-tokens
  • @esri/eslint-plugin-calcite-components

Esri team

N/A

Metadata

Metadata

Labels

4 - verifiedIssues that have been tested, confirmed as mitigated, and are ready to close.calcite-componentsIssues specific to the @esri/calcite-components package.enhancementIssues tied to a new feature or request.estimate - 5A few days of work, definitely requires updates to tests.impact - p1 - need for current milestoneUser set priority impact status of p1 - need for current milestonep - highIssue should be addressed in the current milestone, impacts component or core functionality

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions