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

16 Zeilen
332 B
JavaScript

import DateInput from "discourse/components/date-input";
import discourseComputed from "discourse-common/utils/decorators";
export default DateInput.extend({
useNativePicker: false,
@discourseComputed()
placeholder() {
return this.format;
},
_opts() {
return {
format: this.format || "LL",
};
},
});