Luke Towers
7048e2c567
Improve escaping of option values provided to the dropdown field type.
2020-02-16 23:49:01 -06:00
Samuel Georges
d46accfc4f
Don't force highlight nothing element
...
Causes "Uncaught TypeError: Cannot read property 'element' of undefined at DecoratedClass.SelectOnClose._handleSelectOnClose"
Refs #4867
2020-01-07 07:04:25 +11:00
Samuel Georges
8ce9525b44
Take 2
...
Refs #4867
2020-01-06 22:12:14 +11:00
Samuel Georges
ec0918e284
Fixes removal of first item from taglist
...
Tested #4867 but it broke the use of pressing TAB after entering a tag to lock it in. This seems to retain that functionality and yet still fix the issue
Replaces #4867
2020-01-06 21:19:12 +11:00
Jim Cottrell
b5ed0b313a
Restore support for Select2 data format in custom select control ( #4712 )
...
Credit to @jimcottrell. Refs: #4413
2019-11-19 15:13:08 +08:00
Dan Harrin
7f29cbe13c
Fix support for custom Select2 options via the AJAX framework ( #4414 )
...
Fixes #4413 . Credit to @DanHarrin
2019-07-01 09:04:15 -06:00
Siarhei Karavai
3118660d83
Improve support for dropdowns with placeholders ( #4060 )
...
Fixes #4053 . Credit to @GinoPane
2019-01-27 16:13:02 -06:00
Samuel Georges
4644218312
Move autocomplete to Storm UI
...
Rename select AJAX from "source" to "handler" (Refs #2836 )
Document select handler usage
Recompile assets
2017-04-22 11:44:27 +10:00
Jim Cottrell
376a3b59e2
Add AJAX option to custom select functionality
2017-04-21 15:46:03 -06:00
Samuel Georges
46c473e2f2
Fixes fetching multi tiered pivot relation values
...
Refs https://github.com/daftspunk/oc-crm-plugin/issues/3
Minor code clean on select.js
2016-11-08 07:02:31 +11:00
Samuel Georges
4aca2d40ff
Remove "allowClear" and tidy up #2459
...
Allow clear is not necessary, equivalent of allowClear false is "placeholder" and allowClear true is "emptyOption".
2016-11-07 08:43:52 +11:00
Joseba Juániz
1ee0250441
Dropdown can support either placeholder / emptyOption
...
The difference between a placeholder and an emptyOption is that the placeholder cannot be reselected,whereas the emptyOption can.
Fixes #2450
2016-11-07 08:29:49 +11:00
Samuel Georges
2f8d8ffea6
Update select2 4.0.2 -> 4.0.3
...
This fixes the native focus event echoing to the select2 control, our workaround removed
2016-10-17 09:15:30 +11:00
Samuel Georges
d788b7e03f
Use select2 on touch devices
...
This is a relic from when select2 v3 had no mobile support, we use select2 v4 now that has been tested with mobile/touch devices.
Refs #108
Clean up some white spaces
2016-10-17 08:38:01 +11:00
Samuel Georges
5400ec7d2d
Complete taglist form widget
2016-05-10 06:02:35 +10:00
Samuel Georges
5d27682f25
Create new TagList form widget (Experimental)
...
Update Select2 to latest
2016-05-08 17:43:21 +10:00
Samuel Georges
0f6a47a135
Tidy up Storm UI so all includes are in a single file
2015-10-17 10:51:40 +11:00
Samuel Georges
07ca64d932
This can be fixed by using "width: style" instead
2015-07-15 16:47:25 +10:00
alekseybobkov
02961c6c8f
Fixes in the drop-down styling, minor client-side fixes in the back-end
2015-07-14 21:12:45 -07:00
Samuel Georges
44b11c68be
Fix icon/image support for dropdown options
...
Use alternative approach to "data-no-auto-update-on-render" and prevent select2 from initializing twice
2015-07-01 17:01:44 +10:00
Samuel Georges
220bd2ae40
Update UI controls to support Select2 v4.0 - Refs #1160
2015-07-01 14:32:58 +10:00
Samuel Georges
85c47bea7a
Move select and custom checkboxes/radios to Storm UI
2015-07-01 11:23:50 +10:00