Davi Alexandre
58b404696a
Properly set the dropdown value when dealing with remote loaded choices
This problem happens only when we have a dropdown created from a select
that loads remote content. In this scenario, we don't know in advance
which choices will be available, so we start with a select without any
options. When an choice is selected, module.set.value will try to set
the select value, but it will fail, since there's no options.
To fix this, module.set.value will add a new option to the select, before
setting the value. This will be done only if the dropdown input is a select
and if we are dealing with remote loaded content.
9 years ago
jlukic
dbaac4fc0f
#2510 remove debug
9 years ago
jlukic
89e05127d0
#2510 Fix dropdown icon to always toggle visibility of dropdown menu
9 years ago
jlukic
77a12579da
#2539 , update text before onChange
9 years ago
jlukic
64b087d663
#2524 - remove console log (actually)
9 years ago
jlukic
9b96a047df
#2524 , clicking on labels will no longer trigger toggle behavior. Caused by detached dom element not being considered click inside module
9 years ago
jlukic
459194a750
#2516 dropdown will now cycle between choices starting with a letter
9 years ago
jlukic
4514ac4089
#2533 - Fixes issue with hideAndClear when no maxSelection
9 years ago
jlukic
ecccaf50a3
Dropdown will now show when only messsage in menu. Fixed maxSelections from hiding dropdown after selection. #2523
9 years ago
jlukic
6e2938bb37
#2525 Remove toggle on multiple dropdown touchstart, fix tap color
9 years ago
jlukic
f022cd4910
Restore defaults now correctly clears previous values
10 years ago
jlukic
6438895b6b
Dropdown: removes errant console.log statements
10 years ago
jlukic
904caacb7a
Fix <select> chained reference with dropdown init
10 years ago
Jack Lukic
c17e254c96
#2479 Adds debug data for saving defaults
10 years ago
jlukic
cb34a9e4c7
Debug
10 years ago
jlukic
1a3d46fc8c
Fixes #2436 - onChange should use string equality since input will be stored as string
10 years ago
jlukic
625c1a46b2
Fix dropdown direction: auto, to open downward when no space above or below.
10 years ago
jlukic
32a8344288
Remove console log
10 years ago
jlukic
93baa5f165
remove console.log
10 years ago
jlukic
a9c94a1972
Fix issue from fix earlier today with multi select selecting blank quote values
10 years ago
jlukic
16a70cd597
Fix issue where userAdditions failed to recreate element when using single selection
10 years ago
jlukic
913194ca6b
#2403 [Dropdown] Merge and organize metadata refresh
10 years ago
jlukic
3582d1cb35
#2396 , look for disabled values when initializing select
10 years ago
Andrea Ascari
7325170154
Resolved cache problem for data attributes of dropdown options.
10 years ago
jlukic
7fbf624b98
Enable local caching in all modules by default, add release notes
10 years ago
jlukic
364ad398d8
Incorrect error text
10 years ago
jlukic
ea859dba9b
Fix single select dropdown does not correctly save name/value pairs in session
10 years ago
jlukic
59ecddb1d5
#2383 Fix remove selected, and issues with placeholder selections being selected with multiple when value is empty string
10 years ago
jlukic
e3d43478b9
#2382 Increase code coherence, restructure into new methods
10 years ago
jlukic
0e67b33136
Fixes #2382 Issue with set selected not working with user values
10 years ago
jlukic
fcd8f69108
Prevent looping for values in multiple if no values set
10 years ago
jlukic
40bf2cea35
Fix overlap when selecting dropdown choice with keyboard when useLabels: false
10 years ago
jlukic
aadeb1d437
#2313 , remove value does not check selection count #2313
10 years ago
jlukic
136f912dc5
Add dropdown direction
10 years ago
jlukic
66ee66477c
Speed up get.item when null or undefined
10 years ago
jlukic
35edff6b52
Add support for 'clear', 'restore defaults' for multiple #2303 , update logic for fireOnInit to be more clean, fix issue with boolean values setting #2296
10 years ago
Jack Lukic
7b791f43bf
Fixes issue with search selection tabindex, fix z-index of selection dropdown icon when autocomplete
10 years ago
jlukic
1a5010b36e
Fix loading dropdown button, duplicate loading state, similar #2295 . Fix search inside menu does not clear search term on select
10 years ago
jlukic
653337cfd6
Adds fireOnInit setting, and onAdd onRemove callbacks for multiple
Creates add value and remove value methods to work alongside set value for multiple.
Fixes #2252 #2212 #1912 #230
10 years ago
jlukic
1cddebabd4
Remote unused method #2260
10 years ago
jlukic
e179975995
Add #2260 to next
10 years ago
jlukic
01e9f39242
#2259 - Fix get selection value returns 1 when null
10 years ago
jlukic
2275f2b096
Add disabled item, remove disabled selection from dropdown
10 years ago
jlukic
f6f242cbda
Adds ability to store name/value pairs for remote content
10 years ago
jlukic
14014ef4b5
Add fix for restoring labels
10 years ago
jlukic
6a95f1920b
Bugs with remote
10 years ago
jlukic
071d101215
Complete first pass of API integration with dropdown
10 years ago
jlukic
15e109b373
Fix tabindex issue
10 years ago
jlukic
7887dae2ea
Fixes dropdown force selection to not filter until after hide
10 years ago
jlukic
5585502e26
Initial wiring of API to dropdown
10 years ago