Hi... its me again!
Can we define a date picker and a entity field were you only choose the year like "2016"?
Thanks in advance
Can we define a date picker and a entity field were you only choose the year like "2016"?
Thanks in advance
define('custom:views/fields/date-dynamic-from', ['views/fields/date'], function (Dep) {
return Dep.extend({
afterRender: function () {
Dep.prototype.afterRender.call(this);
this.$element.datepicker('show');
}
});
});
Comment