How can I inlcude buttons in OpenDialogCommand?
$options = [ 'dialogClass' => 'my-dialog-class', 'width' => '700px', 'buttons' => [ 'text' => 'Continue', 'class' => 'btn-primary ok-button', 'click'=> "function() { $(this).dialog('close'); }", ], ]; $response->addCommand(new OpenModalDialogCommand($title, $content, $options));
This seems not to work. The class is set, but no buttons are shown.