I need to set intial value for DateInputElement. The .dart file has a variable dob with initial value:

```
String dob='01/01/2013'

```

and html has

```dart
<input id='mydob' type='date' name='dob' required='true' bind-value='dob'/>

```

dob is not shown when UI is displayed. The control shows mm/dd/yyyy.
If I select a date on UI, the date value is populated in dob variable.

Although bind-value sets two way binding, still tried setting the value to dob as follows without success:

```dart
<input id='mydob' type='date' name='dob' required='true' value={{dob}}  bind-  value='dob'/>

```

Also tried the following in life cycle events but did not work:

```dart
DateInputElement e = query('#mydob');
e.value=dob;

```