DayPilot.DatePicker.resetTarget

The resetTarget property (boolean) controls whether the target element value is overwritten with the date value during init().

Declaration

DayPilot.DatePicker.resetTarget

Default Value

true

Example

const picker = new DayPilot.DatePicker({
  target: "start",
  resetTarget: false,
  // ...
});
picker.show();

See Also

DayPilot.DatePicker.target

DayPilot.DatePicker.date

DayPilot.DatePicker.init()

DayPilot.DatePicker Class

Availability

Availability of this API item in DayPilot editions:

LitePro
DayPilot for JavaScript