nathan
f75567a863
Select improvements
...
- Add _styleTemplate for easier extension
- re-organize file
- Fix weird tag style
- some cleanup
2023-09-18 16:09:43 -06:00
nathan
19552059b3
Fix no results sometimes showed even if there were results
2023-09-15 08:09:55 -06:00
nathan
1d1b3f5947
Avoid JS error on blur
2023-09-14 14:33:16 -06:00
nathan
472ee73dda
Improve styling & behaviour of Et2SelectEmail
2023-09-14 14:30:20 -06:00
nathan
fade177f10
Fix first select option was not set
2023-09-14 11:48:30 -06:00
Nathan Gray
e323cd1d79
Feature/shoelace 2.4 upgrade ( #135 )
...
Update shoelace to 2.9.0
2023-09-13 11:55:33 -06:00
nathan
834141bdd0
Et2Select: Fix some static option selects did not show their values when readonly
2023-08-30 08:16:38 -06:00
nathan
0b036f49b8
Et2Select: Fix some static option selects did not show their values when readonly
2023-08-28 13:50:09 -06:00
hadi
b33f0fa8cf
Fix js error happens when there's no label set on select options
2023-08-28 12:17:42 +02:00
nathan
c8d4682672
Fix class case
2023-08-18 08:47:37 -06:00
nathan
9a121c2508
SearchMixin: If the value is changed while the search / options are open, recalculate positioning
...
Fixes bug where it looks like the value hasn't changed, until the dropdown closes.
2023-08-03 14:09:42 -06:00
nathan
b2e1cef233
SearchMixin: If the value is changed while the search / options are open, recalculate positioning
...
Fixes bug where it looks like the value hasn't changed, until the dropdown closes.
2023-08-03 14:05:10 -06:00
nathan
059cbfff55
SearchMixin: Limit number of JSON search results
2023-08-02 08:16:22 -06:00
nathan
149e2fec76
Fix email tags marked as invalid
2023-08-02 08:16:12 -06:00
nathan
881d3c05c5
SearchMixin: Fix select option not having class causes JS error
...
Fixes addressbook edit popup does not resize
2023-08-02 08:16:03 -06:00
nathan
b304be3a20
SearchMixin: Move missing value check after update so select_options gets a chance to populate first
...
This should speed up the initialization a little, avoiding some unneeded checks
2023-08-02 08:15:45 -06:00
nathan
df2de928da
Api: SearchMixin improvements to work with Et2LinkSearch more efficiently
...
Moving handling of missing options to overridable method so Et2LinkSearch can use its more efficient method
2023-08-02 08:15:34 -06:00
nathan
a3ce1d4cab
WIP on caching static option file and searching it client-side
...
Get it working in nextmatch
2023-08-02 08:15:21 -06:00
nathan
e00582b5f9
WIP on caching static option file and searching it client-side
...
Avoid type error in CalendarOwner
2023-08-02 08:15:13 -06:00
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
6b183db6e0
SearchMixin: Limit number of JSON search results
2023-07-31 10:11:04 -06:00
nathan
8335281787
Fix email tags marked as invalid
2023-07-27 13:19:43 -06:00
nathan
46795ec108
SearchMixin: Fix select option not having class causes JS error
...
Fixes addressbook edit popup does not resize
2023-07-27 10:04:58 -06:00
ralf
0f692fbb74
fix lavatar shows same letters for every contact not having a photo
...
caused by wrongly falling back to the contact with contact_id equal to account_id of current user
also fix TypeError if remote search does not return an array
2023-07-27 12:45:40 +02:00
ralf
322fefa62c
Revert "Et2SelectEmail: Pass email to lavatar to get contact picture in email select option"
...
This reverts commit 5de789f7f7
.
2023-07-27 11:08:23 +02:00
nathan
5de789f7f7
Et2SelectEmail: Pass email to lavatar to get contact picture in email select option
2023-07-26 13:39:00 -06:00
nathan
575c8fa976
SearchMixin: Move missing value check after update so select_options gets a chance to populate first
...
This should speed up the initialization a little, avoiding some unneeded checks
2023-07-26 08:32:00 -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
nathan
e0d284d3ae
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-25 11:15:51 -06: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
ralf
a89b69528e
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:18:29 +02:00
nathan
2a5d0062dd
Api: SearchMixin improvements to work with Et2LinkSearch more efficiently
...
Moving handling of missing options to overridable method so Et2LinkSearch can use its more efficient method
2023-07-25 09:38:11 -06: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
edcc260b7b
WIP on caching static option file and searching it client-side
...
Get it working in nextmatch
2023-07-24 15:13:28 -06:00
nathan
f04b25089a
WIP on caching static option file and searching it client-side
...
Avoid type error in CalendarOwner
2023-07-24 08:51:27 -06:00
nathan
f0be2fcdca
WIP on caching static option file and searching it client-side
...
Still needs file caching & passing correct URL
2023-07-21 16:40:29 -06: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
nathan
325fdcb02c
Api: User selection = none fixes
...
- Fix display was 'false' instead of blank
- Fix widget type check was not preserving original value
2023-06-26 10:49:25 -06:00
hadi
3ecb093d35
Implement onlyEmail option for UrlEmailReadonly
2023-06-22 14:37:15 +02:00
hadi
0d60d3baf4
Make sure to show only email when using current value as email (avoids getting duplicate name in fullEmail mode)
2023-06-22 12:34:56 +02: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
ralf
8b22a258c6
fixing the fix, item is a regular (not DOM-)object and not undefined
2023-05-19 09:26:21 +02:00
ralf
71278c8041
fix TypeError: item.querySelector is not a function
2023-05-19 09:20:47 +02:00
nathan
be25869a1d
Et2Select: If the value contains something that does not pass validation, show it as an invalid tag so it can be removed.
2023-05-18 10:48:33 -06:00
nathan
ab3a75a7b3
Focus test WIP
2023-05-18 08:08:18 -06:00
nathan
da2413a07f
Et2Select: Fix missing options filter to handle option groups too
2023-05-17 08:30:38 +02:00
nathan
6ecb2d8cf9
Et2Select: Fix missing options filter to handle option groups too
2023-05-16 11:02:20 -06: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
d5d217c589
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 10:56:42 -06:00
nathan
91b94a5126
Et2Select: Use same z-index for search box as dropdown
2023-05-10 13:43:46 -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
01ab3ab85a
Et2Select: Fix selection of first option when no value provided, broken by 134cd9d249
2023-05-10 09:19:43 -06:00
nathan
820bd35689
Fix filtered out invalid values were still left in value
2023-05-09 14:28:02 -06:00
nathan
3e1b1e56dc
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-09 14:04:02 -06:00
nathan
134cd9d249
Fix invalid option check did not work for multiple
2023-05-09 08:57:55 -06:00
nathan
4ce6bb3f3d
Et2Select: Remove values that use options that aren't there to avoid the validation error
2023-05-05 11:08:47 -06:00
nathan
05e262d5ee
Some tests for Et2EmailTag
2023-05-01 15:27:17 -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
2fc44da034
Api: Fix clicking Select dropdown button while open did not close dropdown
2023-05-01 08:55:25 -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
8e9071acc8
Calendar: More sidebox owner fixes
...
- another instance of remote class causing problems
- remove duplicates to avoid warning message
2023-04-28 11:27:26 -06:00
nathan
2ea5a41d4f
Calendar: Fix second selected owner in sidemenu went missing
2023-04-27 14:05:50 -06:00
nathan
86dac02826
Calendar: Fix second selected owner in sidemenu went missing
2023-04-27 14:02:41 -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
nathan
7d86d69b49
Add statustext to list of detached attributes
2023-04-25 13:53:16 -06:00
hadi
998039b464
Do not translate category names
2023-04-25 12:02:35 +02: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
nathan
5c1c31e2a5
Fix typo in 5a824ef
2023-04-19 10:25:49 -06:00
nathan
9e8bc6e1ee
Let change event bubble so it can be caught by parents
2023-04-19 10:03:54 -06:00
nathan
5a824ef25b
Et2Select: Fix doubled tags, long tags missing ellipsis
2023-04-18 10:36:34 -06:00
nathan
6db4bdbac0
Preferences: Add a preference option for if select multiple dropdowns stay open, excluding email selection
...
Also, German translations from Birgit
2023-04-18 08:52:06 -06:00
nathan
358cc70d66
Preferences: Add a preference for if select multiple dropdowns stay open or closes immediately after selection
2023-04-17 09:28:27 -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
b3ea3c89cf
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:19:17 +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
ralf
649645ab0f
* Mail: allow placeholders in compose instead of email-addresses to be able to create mail templates
2023-04-11 15:01:40 +02:00
nathan
1a5c20d8a0
Et2Select: Re-color dropdown icon in darkmode
2023-04-05 11:40:02 -06:00
nathan
aa89bf82af
Et2Select: Re-color dropdown icon in darkmode
2023-04-05 11:30:36 -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
55116c7b49
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-04 10:12:48 -06:00
nathan
98ae5aac1c
Et2Select: It was impossible to have "," in an option value, as it would get split by set_value()
...
see a9d2a3972c
2023-04-03 14:55:04 -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
nathan
1702269b65
Api: Fix readonly category select did not load application categories
...
Categories were loaded before attributes & application was not used
2023-04-03 10:21:46 -06:00
nathan
a9d2a3972c
Et2Select: It was impossible to have "," as an option value, as it would get split by fix_bad_value()
2023-04-03 08:52:31 -06:00