petalframework / petal_components

Phoenix + Live View HEEX Components
https://petal.build/components
MIT License
818 stars 94 forks source link

Add option to remove close button in dialog header #261

Closed sezaru closed 1 year ago

sezaru commented 1 year ago

Currently we can disable modal to close via close_on_click_away and close_on_escape, but we still don't have an option to hide/remove the X button on the modal top right.

We need an option to that in scenarios where we want full control when the modal is closed.

nhobes commented 1 year ago

Done in https://github.com/petalframework/petal_components/releases/tag/v1.5.5