pushtell / react-bootstrap-date-picker

React-Bootstrap based date picker.
MIT License
346 stars 195 forks source link

Custom placeholder changes to default onFocus #83

Open cantorio opened 7 years ago

cantorio commented 7 years ago

We need to use localized placeholder (for german language), so instead of DD.MM.YYYY we set TT.MM.JJJJ, like this: <DatePicker placeholder="TT.MM.JJJJ" {...otherProps}/> Everything works fine before user clicks on input => custom placeholder is replaced by default DD.MM.YYYY I think, custom placeholder shouldn't be overriden.

wehriam commented 7 years ago

Pull requests are appreciated!