Releases: bootboxjs/bootbox
Releases · bootboxjs/bootbox
Adds Swahili locale
- Adds Swahili locale
Adds rows as an option for prompt
- Adds
rows
as a prompt option when settinginputType
totextarea
.
Adds scrollable option
- Adds
scrollable
option to enable support for Bootstrap's new scrollable modal option - Adds
extra-large
size option - Adds aliases for each size option:
sm
,lg
, andxl
Adds Tamil locale
Adds Tamil locale. Thanks, Kolappan Nathan!
Bootbox 5.0
- Updates Bootbox to be compatible with both Bootstrap 4 and Bootstrap 3.
- Pulls button locale options to separate file
- Various bugfixes
- Updates all npm packages to their latest and greatest.
- Updates grunt, mostly to enable min file generation.
Prompt
- 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 usinginputType
set toselect
- Refactors prompt function to use the same dialog factory as alert and confirm.
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)
Bootbox 4.4.0
- Allow
backdrop
options oftrue
andfalse
to dismiss modals - Pass dialog as
this
value in callbacks - Bootstrap 3.3.2 compatibility
- jQuery 1.11.2 compatibility
- Add support for
maxlength
prompt input attribute - Gracefully detect lack of Bootstrap library rather than crashing
- Expose
addLocale
andremoveLocale
for custom locale settings - Expose
setLocale
helper to select a locale rather than usingsetDefaults("locale", ...)
- Add Hungarian locale
- Add Croatian locale
- Add Bulgarian locale
- Add Thai locale
- Add Persian locale
- Add Albanian locale
Bootbox 4.3.0
- Add size option (large, small)
- Stop propagation on form submit
- Return bootbox object from hideAll
- Add Portuguese locale
- Add Czech locale
- Add Greek locale
- Add Estonian locale
- Add Indonesian locale
- Add Japanese locale
Bootbox 4.2.0
- Add Swedish locale
- Add Latvian locale
- Add Turkish locale
- Add Hebrew locale
- Add password input type
- Add textarea input type
- Add date input type
- Add time input type
- Add number input type
- Support DOM selectors for container argument
- UMD support
- Better support on mobile devices
Bootbox 4.1.0
- Add support for placeholder attribute in prompts
- Add select, email and checkbox types for prompts (thanks @tarlepp)
- Add Norwegian locale
- Allow setDefaults to take two key/val arguments
- Add unique classes for main dialog methods
- Create bower package
Bootbox 4.0.0
- Bootstrap 3.0.0 compatibility
- Complete rewrite (and new public API)
- Use strict mode
- Add close buttons to wrapper methods (GH-92)
- Allow dialog titles to be specified (GH-51, GH-112)
- Allow optional extra class on dialog wrapper (GH-116)
- Fix
backdrop: true
not firing close handler (GH-77) - Replace various configuration methods with one
setDefaults