fd435043ad
fixed not shown readonly value for numerical values
2015-04-03 14:20:19 +00:00
d82f65e95e
reverting r52412, as it breaks not validating not send values, sending empty array for nothing selected in selectbox instead of (not submitted) null value
2015-04-03 12:43:26 +00:00
1deb3d4f34
Selectbox options kept on the client side
...
Static options copied to the client side in the JS code where possible, and requested from the server once via AJAX when needed.
2015-04-01 17:11:21 +00:00
3125dcba42
- Fix infinite loop in onchange trigger on selectboxes under some cases
2015-03-31 16:29:15 +00:00
6671f4090a
- Fix missing onchange trigger on selectboxes
...
- Avoid loops caused by onchange trigger when applying filters
2015-03-31 16:23:41 +00:00
9c28235334
Fix select options with ${row} were not always found
2015-03-25 21:45:57 +00:00
99657a094b
After we find a match, no need to keep looking.
2015-03-24 15:18:19 +00:00
dff07e68a5
empty-label was not translated if set via (legacy-)options
2015-03-20 19:25:51 +00:00
66ecee59a5
fix javascript error stalling eT2 rendering, if option label is null eg. because it could not be json encoded because of non-utf8 chars in it
2015-03-19 10:54:29 +00:00
6eb5fead04
Fix multiselect/taglist values not properly set if value is an object instead of an array
...
- Fix to handle strings and nulls too
2014-12-08 20:01:15 +00:00
68151ad8e7
Fix multiselect/taglist values not properly set if value is an object instead of an array
2014-12-08 18:14:00 +00:00
fd191888bb
Fix missing empty label when no value in readonly selectbox
2014-11-24 19:58:59 +00:00
84821bef95
- Apply 'none' user selection preference (with admin consideration)
...
- Avoid potential infinite loop with no select options
2014-09-29 20:37:23 +00:00
9ca870d1e7
we need to return null for no value instead of empty array, which gets overwritten by preserved value on server-side
2014-09-26 11:25:09 +00:00
ff29be3197
Fix history log widget no longer working
2014-08-27 17:13:38 +00:00
3176500c83
Refine select option searching when the id is like parent[selectbox].
...
- only search parents when the ID has multiple parts
- fix case when selectbox was in the sel_options arrayMgr, but had no options, parent was used as select options
2014-07-22 21:21:33 +00:00
f011a6c3d1
fixed broken regular expression for multiple comma-separated values (dash in character class has to be last character!)
2014-07-13 09:14:58 +00:00
315a0d4ac0
Pass along width attribute, so it can be passed to chosen
2014-06-09 22:55:39 +00:00
2c5ba307b5
convert numbers to string for consistent matching, 0 was never set, because it was treated as already set, which gives wrong result if it is not first option
2014-06-04 09:52:02 +00:00
51c73ddf89
Make sure all account options are present. Was on server side, now needs to be client side. See r46713
2014-05-13 18:40:31 +00:00
b4b1eee57a
Expand what is accepted as a CSV for multi-select. Fixes Permanent time zone preference does not get saved.
2014-05-12 22:03:38 +00:00
0691903105
Still need to translate empty_label in selectbox widget for cases like when we do have "options" as an extra item for select_options
2014-05-07 13:03:14 +00:00
b3ebc04ae5
Fix missing "translate" sub-attribute for some other widgets "empty_label" attribute.
2014-05-07 12:23:02 +00:00
b76ace01f5
Revert r46820 as it causes some widgets (tag list) problems.
...
Fix select account changing selectbox default instead.
2014-05-06 19:56:02 +00:00
c99f0ee32d
Fix bug in last select option fallback option, was getting value instead of options
2014-05-05 22:17:23 +00:00
4053d1a204
- Move function to find selectbox options to public, static so other widgets (read only selectAccount) can use it
...
- Fix selectAccount missing extra app-specific options
2014-05-05 17:25:01 +00:00
334c66d203
Set select_options for <listbox> widget type of "select-account" with egw->accounts client-side method
2014-04-24 11:49:39 +00:00
7a674ff8aa
Don't add empty label as option for tags or search (chosen), it's registered as a real option.
2014-04-22 15:47:22 +00:00
7ef65b30d6
Fix expand_multiple_rows button to only be added once
2014-03-25 15:20:05 +00:00
f1d7dd7a0e
fixed readonly selecbox not always found options, caused by it not expecting options to be an array. Now we always preserv type of options (array or object) and correctly iterate over them when trying to find an option by its value
2014-03-18 14:41:23 +00:00
f337d45b29
Fix taglist-account not suggesting anything by making sure select_options don't get set.
2014-03-17 20:24:34 +00:00
ace335415f
Add expand_multiple_rows attribute which adds a button to toggle between single & multiple select
2014-02-24 18:13:54 +00:00
ae057bd957
fixed cat-id in nextmatch header of addressbook is in id-order and not alphabetic/hierarchical order
2014-02-18 16:35:54 +00:00
565ead7288
Add a comment for why starting at '' - avoids infinite loops in set_value() / set_select_options()
2014-02-05 16:34:32 +00:00
3a618c23d9
reverted r45509, as it causes an infinit recursion of set_value calling set_select_options calling set_value and so on
2014-02-04 08:27:26 +00:00
cffa002dde
If value is available in init, keep it so it doesn't get cleared by set_select_options()
...
Fixes missing organization name
2014-02-03 20:05:29 +00:00
9e29d8b282
docu update to fix ide warnings and indention
2014-01-29 18:55:24 +00:00
3a140463e8
fix invalid debug-level "warning", has to be "warn"
2014-01-21 14:39:51 +00:00
243f20e98c
fixed handling of optgroups, eg. notification chains in prefs
2014-01-10 07:08:45 +00:00
3e4100d5df
Make sure content manager is not null before trying to use it (occasionally happens with programmatically created selectboxes)
2013-12-19 18:06:16 +00:00
8da1afca1e
some fixes to get "add favorite" in regular calendar views do something
2013-12-08 22:56:23 +00:00
b14424dbd1
Handle possibility of a null option without failing
2013-11-28 18:43:12 +00:00
f8352386cb
Use === to tell the difference between '' and (int)0 keys
2013-11-28 18:12:08 +00:00
fa65814f9e
Extend exception to all single select:
...
- Multi-select you don't select the empty/none option, just nothing
- Single select needs the empty/none option, even with chosen on
see r44551, 44631
2013-11-27 18:03:26 +00:00
1e36383224
Keep value in case select options haven't been set up yet so we can set value immediately after.
2013-11-27 16:35:45 +00:00
a5227f2359
Add read-only taglist
2013-11-25 18:10:48 +00:00
ad3f10d1b0
Add check for nulls, they break
2013-11-21 23:43:53 +00:00
a5043743a8
Try not to remove options value for type "select-number" becasue we need it to display rows in legacy_options
2013-11-21 17:39:44 +00:00
b6f16956f3
Make sure options are set before looking inside
2013-11-18 23:56:25 +00:00
26888ce64c
When turning on tag mode, remove empty label from options.
2013-11-15 16:51:49 +00:00