Skip to content

Commit 2c7e961

Browse files
Update DateTimePicker.tsx
add the placeholder
1 parent d542ed6 commit 2c7e961

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/controls/dateTimePicker/DateTimePicker.tsx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -204,6 +204,7 @@ export class DateTimePicker extends React.Component<IDateTimePickerProps, IDateT
204204
value = this.state.day,
205205
strings: dateStrings = new DateTimePickerStrings(), // Defines the DatePicker control labels
206206
timeDisplayControlType,
207+
placeholder,
207208
showLabels
208209
} = this.props;
209210

@@ -291,6 +292,7 @@ export class DateTimePicker extends React.Component<IDateTimePickerProps, IDateT
291292
showGoToToday={showGoToToday}
292293
showMonthPickerAsOverlay={showMonthPickerAsOverlay}
293294
showWeekNumbers={showWeekNumbers}
295+
placeholder={placeholder}
294296
/>
295297
</div>
296298
</div>

0 commit comments

Comments
 (0)