1
0
Fork 0
discourse-custom-wizard-unl.../assets/javascripts/discourse/components/custom-wizard-date-input.js.es6
2023-03-22 10:11:48 +01:00

17 Zeilen
369 B
JavaScript

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