Commit Graph

20 Commits

Author SHA1 Message Date
nathan
28db39c18e Fix dropdown tree search
Was constantly re-setting search term & dropdown
2024-07-10 13:13:55 -06:00
ralf
16d42c69c5 exclude Et2.*(Readonly|Mobile) components from documentation:
- renamed Et2DateSinceReadonly to Et2DateSince as there is no non-readonly class
- enhance getSlClass() in cem.js to also return regular Et2 class, if there is no readonly one
- replace ? in since tag with 23.1 and added @since 23.1.x to Tree widgets (somehow not parsed!)
- updated etemplate2.0.(dtd|rng)
2024-06-18 11:09:06 +02:00
ralf
731a9d91af implement not strictly linked multiselect tree by using sl-tree selection="single" and sl-tree-item.selection:
- instead of showing checkboxes, we use the sl-tree-item.selection marker (blue left border) to show the multi-selection and sl-tree sl-selection-change event to set the value accordingly
- implement Et2Tree.setSubChecked(_id, _value) to allow apps to (un)check a hierarchy onclick of parent, still allowing to (un)select single children
- also change several tree methods to return the updateComplete promise to use in mail app.js instead of window.setInterval() to wait for tree loading
2024-04-22 16:52:47 +02:00
nathan
7fc73f4c38 Et2TreeDropdownCategory: Get category colors working 2024-02-28 14:59:39 -07:00
nathan
762a18e711 Fix Et2TreeDropdown context menu actions & missing validation error 2024-02-27 11:22:55 -07:00
nathan
7f8e62e915 Et2TreeDropdown: Pass actions on to tree 2024-02-26 17:03:57 -07:00
nathan
0f139fb257 Et2TreeDropdown: Single value tag takes full width 2024-02-26 16:54:07 -07:00
nathan
a9a26ffe39 Implement local search in SearchMixin & for Et2TreeDropdown
Add ability for SearchResult to have children
2024-02-23 10:49:16 -07:00
nathan
b0e8666ecb Implement searching in Et2TreeDropdown 2024-02-22 14:33:22 -07:00
nathan
ab27bcd823 Et2TreeDropdown: Document slots 2024-02-20 09:56:29 -07:00
nathan
48ed89b76f Update from changes in cce0ab57fa 2024-02-16 09:59:04 -07:00
nathan
a60299e114 Get category icons working 2024-02-15 10:41:40 -07:00
nathan
bebd121b60 Show leaf path as title/tooltip 2024-02-15 10:35:06 -07:00
nathan
ff4988b41e Split dropdown category tree into its own file, get colors working in tags 2024-02-15 10:13:01 -07:00
nathan
2bbac91254 Et2TreeDropdown fixes
- Fix ID / tag could be doubled by selecting the same tree node multiple times
- Fix global categories had their marker escaped
2024-02-14 15:26:39 -07:00
nathan
8b21d21291 Et2TreeDropdown: server round-trip working 2024-02-14 10:43:05 -07:00
nathan
62d9c222b6 Just get it working WIP
- Fix category tree structure
- Switch on tree multiple
probably lots of bugs still, looks like we may have to do click on tree = add / remove and not show the value after all
2024-02-13 17:15:23 -07:00
nathan
51f23a0dcf Et2TreeDropdown
- Better handling of horizontal space
- Single select closes dropdown immediately
- Selecting tree item actually changes value
2024-02-13 10:40:00 -07:00
nathan
c53e122564 Et2TreeDropdown: Add some keyboard interactions 2024-02-13 10:32:36 -07:00
nathan
94a32d2800 Et2TreeDropdown WIP
Initial commit.  Sort of works.
2024-02-13 10:32:36 -07:00