We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
repro code:
$modal = Modal::addTo($app); $modal->set(function (View $p) { Message::addTo($p, ['test']); }); $modal->js(true)->modal('show'); $button = Button::addTo($app)->set('Test'); $button->on('click', $modal->jsShow());
I would expect modal with message displayed, but empty modal is shown instead.
the problem is:
the show JS code must be rendered after modal is configured
show
notice, when modal is closed and reopened by the button, message is rendered:
notice also the first problem corrupts the top left/right modal rounded corners
The text was updated successfully, but these errors were encountered:
No branches or pull requests
repro code:
I would expect modal with message displayed, but empty modal is shown instead.
the problem is:
the
show
JS code must be rendered after modal is configurednotice, when modal is closed and reopened by the button, message is rendered:
notice also the first problem corrupts the top left/right modal rounded corners
The text was updated successfully, but these errors were encountered: