nathangray
8a666c751f
Etemplate: Make some statustext readable by screenreader
...
(cherry picked from commit 5aba575d25
)
2021-06-11 13:17:34 -06:00
Ralf Becker
587c4fd8fd
fix not working add in calendar (et2_valueWidget not defined)
...
instead of checking widget to be instance of valueWidget (which would create a circular dependency) we check for the interface/methods of valueWidget
2021-06-11 14:50:46 +02:00
Hadi Nategh
54fff9739a
Add more missing import statements
2021-06-10 15:40:49 +02:00
Ralf Becker
f91bca83e1
got et2 mostly working: timesheet.edit renders
2021-06-07 17:33:53 +02:00
Ralf Becker
52bbfbef0b
allow "{one phrase} {other phrase}" syntax in all attributes marked as translate eg. labels
2021-05-01 14:22:34 +02:00
nathangray
bdbf28cd2c
Change helper function getValueWidgetById() to the more useful getInputWidgetById()
2020-05-25 11:02:12 -06:00
nathangray
4ba7bac850
Add some convenience functions for faster widget access
...
These are only available on et2_container, so app.ts can use eg: this.et2.setWidgetById(...)
getDOMWidgetById(): Same as getWidgetById() it returns et2_DOMWidget instead of et2_widget
getValueWidgetById(): Same as getWidgetById(), but returns et2_valueWidget
getValueById(): Find a widget, get its value
setValueById(): Find a widget, set its value
setDisabledById(): Find a widget, set its disabled state.
2020-05-15 14:01:02 -06:00
nathangray
bdc99ab30c
Increase visibility of tooltipElem so children can access it too
2020-02-27 11:50:04 -07:00
nathangray
49493a6af8
Convert etemplate2 to typescript
2020-02-24 15:16:40 -07:00
nathangray
a5299abbf7
Use correct widget for attributes
2020-01-29 15:12:43 +01:00
nathangray
5e27866dc3
Fix copy/paste error in constructors
2020-01-29 15:12:43 +01:00
nathangray
680a82cb4e
Get et2 working in typescript
2020-01-29 15:11:00 +01:00
nathangray
9e33a168fc
Getting etemplate2 sort of working
2020-01-29 15:11:00 +01:00
Ralf Becker
f412b71225
inputWidget with TS
2020-01-29 15:08:42 +01:00
Ralf Becker
d9e2e26fcd
some fixes for valueWidget
2020-01-29 15:08:42 +01:00
Ralf Becker
8b3f9947e6
baseWidget in TS
2020-01-29 15:08:42 +01:00