Skip to content

Page.DisplayAlert(title, message, accept, cancel, flowDirection) is causing ArgumentNullException #31473

@thisisthekap

Description

@thisisthekap

Description

Page.DisplayAlert(string title, string message, string accept, string cancel, FlowDirection flowDirection) is causing an ArgumentNullException when using maui 10 preview 7.

Steps to Reproduce

  1. Call Page.DisplayAlert(string title, string message, string accept, string cancel, FlowDirection flowDirection)
  2. Experience ArgumentNullEception

Link to public reproduction project repository

No response

Version with bug

10.0.0-preview.7

Is this a regression from previous behavior?

Yes, this used to work in .NET MAUI

Last version that worked well

9.0.100 SR10

Affected platforms

iOS, Android

Affected platform versions

No response

Did you find any workaround?

No response

Relevant log output

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions