Answers for "serenity.is set datepicker value on click"

1

serenity.is set datepicker value on click

this.form.MyParam.element.bind('click', (bind) => {
  if (Q.isEmptyOrNull(this.form.MyParam.value)) {
  	Serenity.EditorUtils.setValue(this.form.MyParam, new Date().setHours(0, 0, 0, 0))
  }
});
Posted by: Guest on September-15-2021

Code answers related to "TypeScript"

Browse Popular Code Answers by Language