Skip to content

Releases: mustardBees/cmb-field-select2

v3.0.3

25 Aug 15:53
Compare
Choose a tag to compare

Update Select2 from 4.0.2 to 4.0.3.

v3.0.2

25 Aug 15:42
Compare
Choose a tag to compare

Prevent array to string conversion PHP notice. Props @natashaallsopp

v3.0.1

24 Aug 13:51
Compare
Choose a tag to compare

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

v3.0.0

25 May 16:49
Compare
Choose a tag to compare
  • 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

04 Feb 10:48
Compare
Choose a tag to compare

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

v2.0.3

18 Sep 20:39
Compare
Choose a tag to compare

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

v2.0.2

17 Sep 13:27
Compare
Choose a tag to compare

Update class name following change in CMB2.

v2.0.1

16 Sep 15:47
Compare
Choose a tag to compare

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

v2.0.0

11 Sep 11:00
Compare
Choose a tag to compare

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

10 Sep 14:55
Compare
Choose a tag to compare

Resolve issue where only IDs are valid values