You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Sometimes I would like to customize Modal which is created by TableColumn\Actions->addModal(), but that's not possible because this method returns Button object and modal itself is not stored anywhere. Also I can't pass seed in $title field (which could be another option).
See this example:
// Set up Modal with Console inside
$button = $c->addModalAction('Post', 'Posting', function($p, $id) {
...
});
// Impossible to access modal object here to configure it :(
//$modal->addScrolling();
//$modal->notClosable();
The text was updated successfully, but these errors were encountered:
Modal::addToWithCl instead of Modal::add would allow object seed.
mvorisek
changed the title
can't pass Modal object in addModal() method
Cannot pass Modal object to Table\Column\ActionButtons::addModal() method
May 31, 2023
Sometimes I would like to customize Modal which is created by
TableColumn\Actions->addModal()
, but that's not possible because this method returns Button object and modal itself is not stored anywhere. Also I can't pass seed in $title field (which could be another option).See this example:
The text was updated successfully, but these errors were encountered: