diff --git a/api/js/etemplate/Et2Date/Et2Date.ts b/api/js/etemplate/Et2Date/Et2Date.ts index 2c332e247a..22a37e5660 100644 --- a/api/js/etemplate/Et2Date/Et2Date.ts +++ b/api/js/etemplate/Et2Date/Et2Date.ts @@ -326,7 +326,11 @@ export class Et2Date extends Et2InputWidget(FormControlMixin(ValidateMixin(LitFl /** * Display the calendar inline instead of revealed as needed */ - inline: {type: Boolean} + inline: {type: Boolean}, + /** + * Placeholder text for input + */ + placeholder: {type: String}, } } @@ -338,6 +342,7 @@ export class Et2Date extends Et2InputWidget(FormControlMixin(ValidateMixin(LitFl { const text = document.createElement('et2-textbox'); text.type = "text"; + text.placeholder = this.placeholder; return text; } }