Skip to content

Pass a payload to MessageDialog callbacks #17658

@SaschaCowley

Description

@SaschaCowley

Is your feature request related to a problem? Please describe.

There is currently no way to pass information to MessageDialog callback functions. This precludes tasks like adding stateful controls such as checkboxes, radio buttons, and text boxes to dialogs, without subclassing MessageDialog and implementing a lot of custom logic.

Describe the solution you'd like

Create a Payload data structure to be passed to callback functions. This data structure can have fields added as developer needs are identified, such as #17646 .

Describe alternatives you've considered

See #17646.

Additional context

See #17646.

Metadata

Metadata

Assignees

Labels

p3https://github.com/nvaccess/nvda/blob/master/projectDocs/issues/triage.md#priorityrelease/blockingthis issue blocks the milestone releasetriagedHas been triaged, issue is waiting for implementation.

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions