Am I wrong in believing that the bootstrap models should just open when the object that it is defined on is clicked? Or do I have to manually open it onclick?
Then I create a bootstrap modal like so:
` echo HTMLHelper::_('bootstrap.renderModal','searchModal', array('url' => $url, 'title' => 'Search Modal', 'width' => '350px', 'height' => '500px', 'backdrop' => 'static'));`
I then define an anchor that should popup the modal when clicked:
`<a href='#searchModal' id='searchLink' data-toggle='modal' data-bs-target='searchModal'";`
Am I wrong? If not is there something in the markup that is incorrect? Am I missing something?
Thanks for your assistance.