Skip to main content

Notifications

Modal Dialog with Configurable Buttons

SpoTechGeek Profile Picture Posted by SpoTechGeek 32

DialogBoxComponent.png

Note: The latest update addresses the "One or more component behavior properties, event or action, have a mismatched return type" error.

 

Responsive Design:

  • Buttons adjust their width automatically based on number displayed or hidden.
  • Button font adjusts according to button visibility and width/height.
  • Message text conforms to dialog box display area.

Configurable Options:

  • Dialog box:
    • Message (with variables)
    • Fill color
  • Buttons:
    • Visibility
    • OnSelect
    • Text per button
    • Fill color
    • Font color

Get latest version on GitHub.

Categories:

Samples

Comments

*This post is locked for comments

  • SpoTechGeek Profile Picture SpoTechGeek 32
    Posted at
    Modal Dialog with Configurable Buttons

    @Craigyh 

    I've updated the component. It should no longer generate the error.

  • SpoTechGeek Profile Picture SpoTechGeek 32
    Posted at
    Modal Dialog with Configurable Buttons

    Hi @Craigyh 

    Unfortunately, Microsoft made some unannounced changes and this error is appearing everywhere.

    You might find post useful.

    It's only a workaround. Your other option is to modify the component on your end and change some of the properties.

  • Craigyh Profile Picture Craigyh 5
    Posted at
    Modal Dialog with Configurable Buttons

    Hi,

    When I tried to import the .msapp file, I got an import error "There was a problem importing Modal Dialog Component. One or more component behaviour properties, Event or Action, have a mismatched return type"