mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-30 01:38:38 +01:00
Add set_min() & set_max()
This commit is contained in:
parent
30ddeb79b0
commit
5406704c74
@ -395,6 +395,24 @@ export class Et2Date extends Et2InputWidget(FormControlMixin(ValidateMixin(LitFl
|
||||
return value;
|
||||
}
|
||||
|
||||
/**
|
||||
* Set the minimum allowed date
|
||||
* @param {string | Date} min
|
||||
*/
|
||||
set_min(min : string | Date)
|
||||
{
|
||||
this.minDate = min;
|
||||
}
|
||||
|
||||
/**
|
||||
* Set the minimum allowed date
|
||||
* @param {string | Date} max
|
||||
*/
|
||||
set_max(max : string | Date)
|
||||
{
|
||||
this.maxDate = max;
|
||||
}
|
||||
|
||||
_inputGroupInputTemplate()
|
||||
{
|
||||
return html`
|
||||
|
Loading…
Reference in New Issue
Block a user