Search
DateTimePicker.autoComplete Property
See Also
 






Gets or sets a value indicating whether the control will try to parse incomplete input.

Namespace: MindFusion.Common.UI
File: DateTimePicker.js

 Syntax

JavaScript  Copy Code

get autoComplete() {}

 Property Value

Boolean. true to try to parse incomplete input, otherwise false.

 Example

The following code creates a new DateTimePicker using an HTML div element with an id "date_picker". The dateTimePicker advances with one day and tries to parse incomplete output:

JavaScript  Copy Code

var u = MindFusion.Common.UI;

var dateTimePicker = new ui.DateTimePicker(document.getElementById("date_picker"));
//advance for 1 day
dateTimePicker.advance(0, 0, 1);
dateTimePicker.autoComplete = true;
dateTimePicker.datePartSelect = true;

 See Also