set input value property on pikaday element to make sure we have a data in initial view

This commit is contained in:
Danny 2018-05-25 15:03:36 +02:00
parent ab7f36757a
commit f70a492f09
1 changed files with 1 additions and 1 deletions

View File

@ -24,7 +24,7 @@ class Pikadayer extends Component {
} }
render(props) { render(props) {
return <input /> return <input value={props.value} />
} }
} }