1
0
Fork 0
discourse-custom-wizard-unl.../assets/javascripts/wizard/components/wizard-date-input.js.es6

18 Zeilen
395 B
Text

import DateInput from "discourse/components/date-input";
import discourseComputed from "discourse-common/utils/decorators";
export default DateInput.extend({
useNativePicker: false,
2022-03-16 12:46:16 +01:00
layoutName: "wizard/templates/components/wizard-date-input",
@discourseComputed()
placeholder() {
return this.format;
},
_opts() {
return {
2021-11-21 21:10:50 +01:00
format: this.format || "LL",
};
},
});