Last Updated: 26 Jun 2024 07:40 by n/a

### Enhancement

Add a template property to the Dialog actions that allow inserting HTML into the button's text.

Right now, the following snippet will produce an HTML encoded value:

      actions: [{
          text: "<span>OK</span>"

### Expected Result

The expected result of this enhancement is to enable the developers to add the HTML into the action buttons text.

Last Updated: 10 Nov 2020 15:25 by ADMIN
Release 2020.R3.SP.next
Created by: Jon
Comments: 1
Category: Dialog
Type: Bug Report

I have a dialog defined but the "mydialog-control" CSS class never gets added to the dialog when it's rendered.  Why is that happening?

    .HtmlAttributes(new { @class = "mydialog-control"})
    .Actions(act =>
      act.Add().Text("Cancel Change").Action("cancelClicked");