nathan
ef3848fd3c
- Fix including everything just for a unit test
...
- Start of some tests for Et2Button
2021-08-25 11:32:15 -06:00
nathan
d127cae5c6
Add get_value() to match legacy
2021-08-24 14:44:45 -06:00
nathan
b393375823
Fix readonly property to match parent
2021-08-23 15:26:00 -06:00
nathan
381d12dfa2
Get Et2Date loading & formatting value
2021-08-19 15:09:00 -06:00
nathan
b4a13037e2
- Reduce duplication with loadWebComponent() by making it a function & exporting
...
- Start to implement readonly attribute
2021-08-19 10:54:32 -06:00
nathan
4f225054f8
WIP on Date widget
...
Something's not right with the parser/formatter, they're not getting called.
Times not handled yet
2021-08-13 15:26:18 -06:00
nathan
30d835fa39
- Get label "for" attribute working when target is a WebComponent
...
- Remove requirement that tooltip target be jQuery, get tooltips working on WebComponents
2021-07-23 10:18:45 -06:00
nathan
5fee9fcafe
Make et2-textbox as a WebComponent
...
Not all attributes are handled yet, but value cycle is working
2021-07-22 14:54:10 -06:00
nathan
610d8e1547
Try out Lion as base for button.
...
Much easier to customize, though not without its issues:
- Lion give us some stuff to handle validation, forms & input that I haven't looked into
- Slightly different mixin structure, I might be missing out on something
- Properties in extending class cause TypeScript error, but still work
2021-07-19 11:57:06 -06:00
nathan
47e296c947
Get to the point where a button will submit. Yay.
...
Most other input widgets can build off this base.
It doesn't validate yet because of the server side, but the client side is working.
2021-07-15 10:08:26 -06:00
nathan
b0322c549a
Attribute parsing & basics of WebComponents looking like et2 widgets
2021-07-14 09:49:36 -06:00
Ralf Becker
f91bca83e1
got et2 mostly working: timesheet.edit renders
2021-06-07 17:33:53 +02:00
nathangray
77a413b66b
Etemplate: Fix isDirty() was always false for multi-select (tracker selection)
2020-07-27 13:44:11 -06:00
nathangray
10b2eda4ac
Fix bug in isDirty() causing error for some widgets, which broke onbeforeclose
2020-06-24 09:40:35 -06:00
nathangray
52714f0a63
Etemplate: Check dirty before closing, ask if there are changes
2020-06-19 13:27:41 -06:00
nathangray
ce393e0803
Remove et2_types
2020-05-29 11:21:17 -06:00
Ralf Becker
ec7f8931b2
selectbox widget and some fixes
2020-01-29 15:12:44 +01:00
Ralf Becker
05b92c97f2
fix wrong class-name for attributes in constructor call
2020-01-29 15:12:44 +01:00
Ralf Becker
9e006797c9
date-widgets and friends for TS
2020-01-29 15:12:44 +01:00
Ralf Becker
e2c735ace9
textbox and button widget
2020-01-29 15:08:42 +01:00
Ralf Becker
f412b71225
inputWidget with TS
2020-01-29 15:08:42 +01:00