Closed anthonyisensee closed 2 months ago
@Geo-Bold, please make the modals in place replacements for javascript prompt and confirm. I'd also love modals to be easily reusable, with only one ever rendering to the page to avoid modal stacking (multiple Bulma modals being rendered in over each other).
It would be great to see the same or similar parameter structure to prompt() and confirm() in the functions you create. Since Bulma modals have a header and a footer with confirmation buttons, I'd love to see options in the function parameters to set the message of the modal, the title in the modal header, and the labels of the okay and cancel buttons. If values are not set, I'd love to see sensible default parameter values. Let me know if you have further questions!
Figure out how to implement Bulma modals instead of using JavaScript prompts and confirms. In the case of confirm, I'd like to use Bulma form fields.