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 thebtn-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
, andrequired
- โ Adds
pattern
option for prompt inputs - ๐ Allows
message
option for prompt - ๐ Allows
multiple
option for prompt when used withinputType
set toselect
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)