Spiegel von
https://github.com/paviliondev/discourse-custom-wizard.git
synchronisiert 2024-11-10 04:12:53 +01:00
16 Zeilen
329 B
JavaScript
16 Zeilen
329 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"
|
|
}
|
|
}
|
|
});
|