Skip to content

Releases: AppsDevTeam/AjaxSelect

v3.1.3: Merge pull request #7 from vpalousek98/master

19 Apr 13:27
4f15777
Compare
Choose a tag to compare

v3.1.2

28 May 05:21
1bc7433
Compare
Choose a tag to compare
Update composer.json

v3.1.1: Translator switch

28 May 04:35
Compare
Choose a tag to compare
Option to turn off automatic translation of select values

v3.1: Translator switch

16 Nov 15:58
Compare
Choose a tag to compare
Option to turn off automatic translation of select values

v3.0: Merge pull request #6 from AppsDevTeam/nette-2.1

03 Sep 14:59
3c3ccf7
Compare
Choose a tag to compare

v2.2.2: NULL in setValue for INVALID_VALUE_MODE_EMPTY

04 Aug 09:45
Compare
Choose a tag to compare
Problem: When INVALID_VALUE_MODE_EMPTY is configured for AjaxSelect and selected value is invalid and then set to NULL, an error was thrown in 'count($value)'.
Solution: check if $value is array before the count so the NULL value is evaluated as FALSE and count is never checked.

v2.2.1: Merge pull request #5 from AppsDevTeam/improvements

27 Nov 12:43
142a381
Compare
Choose a tag to compare

v2.2

23 Jul 14:38
Compare
Choose a tag to compare
Removed Nette 2.3 from composer.json

v2.1

23 Jul 14:36
Compare
Choose a tag to compare
Removed Nette 2.3 from composer.json

v2.0: Options on ajax entity are set by `$entitySetupCallback` in construct…

17 Apr 08:48
Compare
Choose a tag to compare
…or instead of `->getAjaxEntity()-> ... ->back()` after control attachment.

- Problem: Options set using ->getAjaxEntity() after control creation were not used, when the form was submitted.
  Cause: Workflow looks like: (1) the control is created, (2) control is attached, (3) post values are populated, (4) value is evaluated as valid, (5) ->getAjaxEntity() is called and options are set.
  Solution: We need to do (5) before (4). So we will set the options in callback `$entitySetupCallback` before the control is attached (between (1) and (2)).
- Function `back` is not needed anymore, so it was removed.
- Ability to omit `$entityName` and `$entitySetupCallback`.