Commit Graph

28 Commits

Author SHA1 Message Date
ralf
59d50c344a fix TypeError in InfoLog caused by _searchNode not yet instantiated 2024-02-11 08:45:17 +02:00
ralf
86c76a434a allow to pass a JSON filter object to application-type custom-fields:
adressbook: '{"owner":5,"cat_id":[1,3]}' will only return contacts from personal AB of user #5 with either cat_id 1 or 2
2024-02-11 08:45:17 +02:00
nathan
a23cfd37b0 Fix nextmatch entry filter header could not be cleared 2023-12-07 10:44:56 -07:00
nathan
c400b548e8 Fix unable to save cleared link value 2023-12-06 09:15:29 -07: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
b44ea1b2b0 Api: Fix doubled link on open and missing link app select 2023-07-25 10:27:05 -06:00
nathan
96c66eeaf8 Fix LinkEntry change caused double change event 2023-04-28 09:27:17 -06:00
nathan
1d8d4f9c72 Fix some readonly issues where widgets were not looking readonly
- Editable tags were still editable if the select was readonly
- LinkTo could still select an app (readonly not passed on)
- Hide the dropdown for multi-select when readonly
2023-02-03 14:09:07 -07:00
nathan
374ba994a4 Customfield validation fixes
- customfield did not pass required setting on to widgets
- link entry did not support required
2023-01-13 11:28:02 -07:00
nathan
f6883c33fd Add gap inside link widgets between each component 2022-10-25 11:38:48 -06:00
nathan
ab07b3dee3 Et2LinkEntry: Fix value of null caused error 2022-10-13 10:37:29 -06:00
nathan
0fb1f32152 Et2LinkEntry: If the app is changed, clear previous search results and focus the search field 2022-09-07 08:42:04 -06:00
ralf
b9d96ea3e9 change all attribute-names of new et2-* widgets to camelCase
only exception is select_options, never used in templates
2022-07-21 17:57:50 +02:00
nathan
8ffbe97884 Fix link entry with only_app & initial value did not find entry label 2022-07-18 11:42:26 -06:00
nathan
3d2e20ce0a Avoid error setting placeholder 2022-07-08 09:30:41 -06:00
nathan
e3b095dae7 Fix link app did not start with preferred app, implement placeholder 2022-07-07 09:54:18 -06:00
ralf
673e0b859c fix only_app attribute not taking into account when setting value, which is in that case just an id 2022-06-22 15:29:21 +02:00
nathan
5cd417ec72 Et2LinkEntry: Pass only_app & application_list properties onto internal Et2LinkAppSelect 2022-06-20 15:19:57 -06:00
nathan
fdd6f23560 Better readonly styling 2022-06-17 14:06:12 -06:00
nathan
c631bd8b7f Et2LinkTo: Seems to be working
Fixed some bugs:
- File buttons were added twice if connectedCallback was called twice
- Clearing selected entry focuses search & hides link button
2022-06-06 14:42:43 -06:00
nathan
b58045c19f Et2LinkTo: Start of link-to
still needs to work for new entries
2022-06-06 13:31:33 -06:00
nathan
5f7b9bd5f4 Work on LinkEntry
- Show / hide app select depending on has current value
- Hide current value when searching to get more space
2022-06-02 11:52:27 -06:00
nathan
d5055b9b95 Fix Et2LinkEntry did not always show initial value
If link title was not already in cache, it might get left at ??.  It was not using passed title, and sometimes was not getting title from server fast enough.
2022-06-02 10:19:34 -06:00
nathan
9f4ce778cc Work on LinkEntry
- fix initial value
2022-06-02 09:16:28 -06:00
nathan
850f6effeb Work on LinkEntry
- fix title missing on load when we didn't have it client side
2022-06-02 09:14:01 -06:00
nathan
2b68b6cbbe Work on LinkEntry
- fix missing app select
- add clear button
- use request() instead of json() to query server
- add optional class property to SelectOption
- move cleaning select options to its own function so we can use it anywhere
- Use separate render to keep local / remote options separate.  Local options stay in select_options.
2022-06-01 09:25:11 -06:00
ralf
0aa813a0ff got LinkEntry mostly working 2022-06-01 16:05:34 +02:00
nathan
9b0e1b9206 Work on LinkEntry 2022-05-31 13:41:39 -06:00