Commit Graph

353 Commits

Author SHA1 Message Date
nathan
2c919d4318 WIP on caching static option file and searching it client-side
Still needs file caching & passing correct URL
2023-08-02 08:12:46 -06:00
nathan
d6739afe8b Calendar: Fix group calendar could be missing events under some circumstances
Static account options added to CalendarOwner were blocking the group data needed, fixed by using sent options over account options
2023-07-26 09:06:27 +02:00
ralf
2b323f4ceb aggregate Etemplate\Widget\Url::ajax_contact() requests and search for all of them in a single AJAX request and SQL query 2023-07-25 18:35:13 +02:00
hadi
a4109439e1 Implement onlyEmail option for UrlEmailReadonly 2023-07-25 11:42:40 +02:00
hadi
29d159ea29 Make sure to show only email when using current value as email (avoids getting duplicate name in fullEmail mode) 2023-07-25 11:42:01 +02:00
nathan
dc5b0a4580 Api: User selection = none fixes
- Fix display was 'false' instead of blank
- Fix widget type check was not preserving original value
2023-06-29 14:55:37 -06:00
ralf
25b95ce18c fixing the fix, item is a regular (not DOM-)object and not undefined 2023-05-23 13:23:40 -06:00
ralf
828d8d8e19 fix TypeError: item.querySelector is not a function 2023-05-23 13:23:29 -06:00
nathan
ee14d1d39f Et2Select: If the value contains something that does not pass validation, show it as an invalid tag so it can be removed. 2023-05-23 13:14:46 -06:00
ralf
593640edd7 Revert "Et2Select: If the value contains something that does not pass validation, show it as an invalid tag so it can be removed."
Stalls calendar :(

This reverts commit 94d43a0a28.
2023-05-22 07:54:03 +02:00
nathan
94d43a0a28 Et2Select: If the value contains something that does not pass validation, show it as an invalid tag so it can be removed. 2023-05-19 08:33:43 -06:00
nathan
da2413a07f Et2Select: Fix missing options filter to handle option groups too 2023-05-17 08:30:38 +02:00
nathan
7237a265ef Fix focussed select does not close when it loses focus
Mail reply moves focus from To: to body, and To dropdown stayed open
2023-05-12 10:45:20 +02:00
nathan
ef58242afe Some "invalid option" fixes:
- Don't notify user, just log it to the console
- Fix calendar owner filtered out not loaded options
2023-05-11 14:27:18 -06:00
nathan
471a5a60b9 Et2Select: Fix selection of first option when no value provided, broken by 134cd9d249 2023-05-10 09:41:16 -06:00
nathan
2179423b03 Fix filtered out invalid values were still left in value 2023-05-10 09:31:27 -06:00
nathan
d94c2f7c09 Fix invalid option check did not work for multiple 2023-05-10 09:30:41 -06:00
nathan
73c65cd8a7 Et2Select: Remove values that use options that aren't there to avoid the validation error 2023-05-10 09:30:30 -06:00
nathan
39c308bcd6 Api: Fix clicking Select dropdown button while open did not close dropdown 2023-05-01 09:02:20 -06:00
nathan
33ea5483c3 Calendar: More sidebox owner fixes
- another instance of remote class causing problems
- remove duplicates to avoid warning message
2023-04-29 08:49:14 +02:00
nathan
2ea5a41d4f Calendar: Fix second selected owner in sidemenu went missing 2023-04-27 14:05:50 -06:00
nathan
3738284a39 Let change event bubble so it can be caught by parents 2023-04-27 10:06:24 -06:00
nathan
c1cbfc415d Add statustext to list of detached attributes 2023-04-26 08:05:35 -06:00
hadi
a88c423abe Do not translate category names 2023-04-25 12:01:19 +02:00
nathan
889fa75f8c Fix typo in 5a824ef 2023-04-20 08:19:08 -06:00
nathan
fe962c2177 Et2Select: Fix doubled tags, long tags missing ellipsis 2023-04-19 11:13:37 -06:00
nathan
daf57803f9 Preferences: Add a preference option for if select multiple dropdowns stay open, excluding email selection
Also, German translations from Birgit
2023-04-19 11:11:52 -06:00
nathan
0242891289 Preferences: Add a preference for if select multiple dropdowns stay open or closes immediately after selection 2023-04-19 11:11:35 -06:00
ralf
5c24d4bec8 implement onlyEmail attribute for et2-select-mail to only display email address, even if we have a full rfc822 address and use it for aliases and forwards in admin mail 2023-04-11 18:35:05 +02:00
ralf
b55328b84f * Mail: allow placeholders in compose instead of email-addresses to be able to create mail templates 2023-04-11 17:54:57 +02:00
nathan
1a5c20d8a0 Et2Select: Re-color dropdown icon in darkmode 2023-04-05 11:40:02 -06:00
nathan
c6090fc4fd Et2Select: Fix select closes immediately after opening
If you click to open then click again to close, select wouldn't stay open after that.
2023-04-05 15:45:59 +02:00
nathan
de8d8a1c36 Et2Select: It was impossible to have "," in an option value, as it would get split by set_value()
see a9d2a3972c
2023-04-04 10:25:30 -06:00
nathan
8e8ded1323 Et2Select: It was impossible to have "," as an option value, as it would get split by fix_bad_value() 2023-04-03 10:33:11 -06:00
nathan
00fed17e88 Api: Fix readonly category select did not load application categories
Categories were loaded before attributes & application was not used
2023-04-03 10:31:51 -06:00
hadi
b9d3e796fe Set a max height for select tags 2023-04-03 10:45:04 +02:00
nathan
93a9ac3091 Et2Select: Missed changes in backports 2023-03-31 11:10:33 -06:00
nathan
21e9d67916 Fix up recur days 2023-03-31 10:39:19 -06:00
nathan
824ebe514c Et2SelectDayOfWeek: Fix missing all days, weekday, weekend options 2023-03-31 10:30:43 -06:00
hadi
1bcaf3da43 Set a max height for select tags 2023-03-31 14:08:55 +02:00
nathan
c67e080c2a Keep select tag icons their original color 2023-03-28 08:45:18 +02:00
nathan
5872b77606 Et2SelectEmail: Fix keyboard navigation in search results 2023-03-27 11:39:39 -06:00
nathan
ee758d3069 Et2Select: Fix keyboard navigation in search results & sidebox category closes 2023-03-23 17:24:08 -06:00
nathan
6b3acd3af8 Et2Select: Always close the dropdown after an option is selected, even if multiple=true. Now for keypresses too.
see 62402f39ae
2023-03-23 16:15:41 -06:00
nathan
bab0a769d1 Et2Select: Always close the dropdown after an option is selected, even if multiple=true 2023-03-23 16:15:31 -06:00
ralf
43dfaa6bc2 fixes for transpiling: import instantiated StaticOptions object, not the type
has also the benefit of using a single instance
2023-03-13 19:38:36 +01:00
Hadi Nategh
2dc78de2c1 Support deprecated get values method for ET2Select_ro 2023-02-27 09:56:39 +01:00
nathan
41cbb68de0 Et2Select: Fix extra scrollbar with rows=1, multiple, hover lots (> 8 or so) of rows 2023-02-22 16:23:56 -07:00
nathan
f7d44c63cb Enable disabled select options 2023-02-22 09:51:57 -07:00
nathan
33ca8a47a9 Et2Select: Tweak size calculations for rows setting to work better for all font size preferences 2023-02-16 11:59:34 -07:00