Skip to content

Commit 03131b4

Browse files
committed
Update documentation for formatted value.
1 parent 8bff7f9 commit 03131b4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ var App = React.createClass({
5454
formattedValue: formattedValue // Formatted String, ex: "11/19/2016"
5555
});
5656
},
57-
componentDidUpdate() {
57+
componentDidUpdate: function(){
5858
// Access ISO String and formatted values from the DOM.
5959
var hiddenInputElement = document.getElementById("example-datepicker");
6060
console.log(hiddenInputElement.value); // ISO String, ex: "2016-11-19T12:00:00.000Z"

0 commit comments

Comments
 (0)