nathan
9aa4c6f403
Et2DateDuration: Fix value of "" caused NaN
2023-05-03 08:42:15 -06:00
nathan
ab195097f5
Et2DateDuration: Use integers for duration when we have a separate box for each duration, float when there's one box
2023-05-02 14:17:40 -06:00
nathan
7d86d69b49
Add statustext to list of detached attributes
2023-04-25 13:53:16 -06:00
nathan
9f20a89306
Et2DateDurationReadonly: Fix value change did not update, so displayed value was unchanged
2023-04-11 17:09:36 -06:00
nathan
7d71246ff0
Et2Date: Fix incorrect validation error for empty dates on mobile
2023-03-29 10:22:35 -06:00
nathan
70db89b2f6
Et2DateReadonly: Fix readonly date did not re-render when value changed
2023-03-28 08:30:45 -06:00
nathan
e034557f60
Api: Fix number could not handle comma as decimal separator if different from browser's region.
2023-03-22 10:59:05 -06:00
nathan
59ea901cf9
Et2DateDuration: Fix widget did not fire change event when value changed
2023-03-20 14:50:45 -06:00
nathan
60e4e17fad
Fix DateRange UI did not fill in start date properly
2023-03-20 13:43:03 -06:00
ralf
d3eed5b738
merge transpiling branch into master
2023-03-20 20:32:09 +01:00
nathan
be4506fa3b
Fix DateRange UI did not fill in start date properly
2023-03-20 10:33:26 -06:00
ralf
1015f057f4
fix Flatpicker plugin imports for et2-date* widgets
2023-03-20 13:41:25 +01:00
nathan
9a8375fa33
Revert "fixes for transpiling:"
...
This reverts commit f5a1fce8bc
.
2023-03-13 14:32:31 -06:00
ralf
f5a1fce8bc
fixes for transpiling:
...
- importing Instance and HTMLElementWithValue types only as type
- import flatpicker plugins with: import {default as <PluginName>} from <file>
2023-03-13 19:41:00 +01:00
nathan
bb67507223
Et2DateDuration: Don't error & break everything for a bad display format, just log it and continue
2023-03-06 15:02:45 -07:00
nathan
da1b1f6999
Fix gantt chart couldn't load data
...
broken by 2066523
.
Loading caused 'Exception "t is undefined" while handling JSON response from ....' deep inside dhtmlx-gantt
2023-02-28 09:05:49 -07:00
nathan
0117c4bde3
Move client-side holidays cache to MODULE_GLOBAL egw.holidays(year)
2023-02-27 15:15:36 -07:00
nathan
206652307b
Et2Date fixes
...
- Fix mobile get / set value was not actually setting value properly
- Set a minimum input width
2023-02-24 11:58:16 -07:00
nathan
4322937ea7
Et2Date: Add widget classes to flatpicker popup
2023-02-09 14:47:43 -07:00
nathan
32dd160e35
Et2Date: Add placement property to control where calendar popup opens. "top", "bottom", or "auto"
2023-02-08 14:36:09 -07:00
nathan
86376bdc0c
Et2DateRange: Add relative -> absolute conversion as needed when setting value
2023-02-01 13:04:25 -07:00
nathan
15f986cf1a
Get Et2Date & Et2DateTime tests passing again
2023-02-01 09:46:00 -07:00
nathan
0b15ede568
Et2Date: Fire change event when a new date is selected
...
Fixes nm date filters not filtering
2023-01-30 16:10:49 -07:00
nathan
38b507dcd1
Et2Date: Stop required validation showing on initial load even with a value
2023-01-17 10:52:02 -07:00
nathan
1a969c4cfc
Et2Date: Fix validation message display
...
Required validation was incorrectly displayed / not hidden
2023-01-13 08:40:21 -07:00
nathan
ca5d80264c
Less errors in date tests, still not passing
2023-01-05 08:38:56 -07:00
nathan
40278c8827
Get our WebComponent tests running again
...
Made a lot of "failed to construct htmlelement" errors go away, avoid a bunch of egwIsMobile is undefined errors
2023-01-04 12:01:09 -07:00
nathan
098fe647dc
Start on converting date range to webcomponent
2022-12-20 14:05:20 -07:00
nathan
fd8f688e8b
Avoid error if input node isn't created yet
2022-11-18 13:59:20 -07:00
nathan
d35eacb8a2
Fix gap between label & control, better solution for date-duration
2022-11-04 09:41:45 -06:00
nathan
6764ef979b
Et2Date: Use regular inputs for mobile
2022-11-01 10:34:52 -06:00
nathan
12926c89e3
Et2DateDuration: Force label not to wrap
2022-10-31 13:58:26 -06:00
nathan
e5a88c35f5
Fix date duration label always showed above the input, never to the left
2022-10-28 11:48:42 -06:00
nathan
19bbea7aca
Et2Date: Add up/down buttons on hover to adjust value without opening popup
...
Buttons adjust by day or minuteIncrement. Minute values are now always rounded to multiples of minuteIncrement, unless freeMinuteEntries=true (or minuteIncrement=1)
2022-10-20 15:27:24 -06:00
nathan
5f3570768d
Et2Date: Add "Ok" button to close calendar popup
2022-10-18 09:08:53 -06:00
nathan
c52ac8fbdc
Et2DateTime: Limit minutes to multiples of 5
2022-10-14 11:18:17 -06:00
nathan
dcc6d1eb83
Et2Date: change "Today" button label to "Now" for widgets with time (Et2DateTime, Et2Timeonly, etc.)
2022-10-14 10:05:59 -06:00
nathan
2cb826e268
Et2Date: changes directly in the input field will now update popup & the value when blurred
2022-10-14 09:32:59 -06:00
nathan
0a745299ce
Get flatpickr popup working along with LionDialog
2022-10-05 16:22:32 -06:00
ralf
96e2b495e1
pass placeholder attribute to et2-textbox
2022-10-04 13:46:15 +02:00
nathan
e03fea2e9b
Et2Date: Fix required validation message was always shown after changing a required date
...
Some missed changes after moving from Lion
2022-09-20 10:44:28 -06:00
nathan
cfbb74b83e
Fix some Et2DateDuration bugs
...
- Duration did not validate correctly
- Validation errors were not actually shown
- Empty duration ('') did not work consistently
2022-09-13 13:00:25 -06:00
nathan
662ea62790
Calendar: remove most sidebox date customisations
...
Now using regular calendar header. "Go" button and custom header styles removed. Changing the date in sidebox calendar immediately updates state.
2022-09-12 15:35:24 -06:00
nathan
7f94b3ae6c
Et2Date: Add "Today" button
2022-09-06 11:32:25 -06:00
nathan
33dcbc218f
Revert "Calendar: Fix some kanban listen problems"
...
This reverts commit 59e64cd908
.
2022-08-25 10:16:05 -06:00
nathan
59e64cd908
Calendar: Fix some kanban listen problems
...
- Status filter isn't really applicable
- Priority was missing its options
2022-08-25 10:13:32 -06:00
ralf
8b45483c68
fix not working "use enddate" in edit or quickadd
...
also fix not displayed month in header and add translation of month or week-day names
2022-08-12 11:38:15 +02:00
nathan
0186714112
Et2DateDuration improvements:
...
- If display.unit is not set, show the first unit option instead of blank selectbox
- Move number spinner to edge of box so numbers have more space
2022-07-27 13:36:04 -06:00
nathan
17012f6f25
Fix some readonly / readOnly bugs that snuck in when textbox was converted from Lion to Shoelace
2022-07-26 13:56:17 -06:00
nathan
5b76c8b16d
Fix et2-date-duration would no longer return a value
2022-07-26 13:31:20 -06:00