Skip to content

Releases: mustardBees/cmb-field-select2

v3.0.3

Choose a tag to compare

@mustardBees mustardBees released this 25 Aug 15:53

Update Select2 from 4.0.2 to 4.0.3.

v3.0.2

Choose a tag to compare

@mustardBees mustardBees released this 25 Aug 15:42

Prevent array to string conversion PHP notice. Props @natashaallsopp

v3.0.1

Choose a tag to compare

@mustardBees mustardBees released this 24 Aug 13:51

Bugfix release. Compatibility with CMB2 2.2.2+. Props @jtsternberg

v3.0.0

Choose a tag to compare

@mustardBees mustardBees released this 25 May 16:49
  • Support for repeatable fields and repeatable group fields! Props @AlchemyUnited & @erangalp
  • Update Select2 to from 3.5.1 to 4.0.2
  • The asset path is now filterable. If you choose to include this field type within a theme/plugin, you can now override the location of front end scripts/styles
  • Placeholder text can now be defined separately from the field description
  • Documentation update, including updated examples
  • The major version bump is due to a slight change in behaviour. Previously when using a multi-value select field, any saved values which no longer exist in the options array, even though they're not visible, the values would have remained when saved. Now, upon saving, these orphaned values are discarded. Props @gyrus

v2.0.4

Choose a tag to compare

@mustardBees mustardBees released this 04 Feb 10:48

Refactor to use CMB2 APIs. No longer need sanitization_cb, and should setup structure for repeatable properly. Props @jtsternberg

v2.0.3

Choose a tag to compare

@mustardBees mustardBees released this 18 Sep 20:39

Store description into a variable to avoid "Can't use function return value in write context in..." errors. Props to @pasqualevitiello

v2.0.2

Choose a tag to compare

@mustardBees mustardBees released this 17 Sep 13:27

Update class name following change in CMB2.

v2.0.1

Choose a tag to compare

@mustardBees mustardBees released this 16 Sep 15:47

Selector compatibility with a change made in CMB2. Props @pasqualevitiello

v2.0.0

Choose a tag to compare

@mustardBees mustardBees released this 11 Sep 11:00

CMB2 compatibility. Props to @pasqualevitiello for getting this working. As this is a breaking change, I've bumped the version to 2.0.0.

For use with other versions of CMB, check the previous releases.

v1.0.1

Choose a tag to compare

@mustardBees mustardBees released this 10 Sep 14:55

Resolve issue where only IDs are valid values