Bootbox v5.0.0 Release Notes

Release Date: 2019-02-27 // about 5 years ago
    • โšก๏ธ Updates Bootbox to be compatible with both Bootstrap 4 and Bootstrap 3.
    • Pulls button locale options to separate file
    • Corrects Russion locale
    • ๐Ÿ”„ Changes default button trigger to target the button with the bootbox-accept class; this corrects instances where no button has the btn-primary class.
    • ๐Ÿ›  Various bugfixes

    Prompt

    • ๐Ÿ”จ Refactors prompt function to use the same dialog factory as alert and confirm
    • โž• Adds new input types for prompt:
      • radio
      • range
    • โž• Adds prompt input constraints for min, max, step, maxlength, pattern, and required
    • โž• Adds pattern option for prompt inputs
    • ๐Ÿ‘ Allows message option for prompt
    • ๐Ÿ‘ Allows multiple option for prompt when used with inputType set to select

    Dialog options

    • โž• Adds locale option - allows locale to be set on a dialog-by-dialog basis
    • โž• Adds swapButtonOrder option to allow reversing the default button order
    • โž• Adds centerVertical option - adds support for vertically-centered dialogs (requires Bootstrap 4)