tabIndex prop added to DatePicker

This commit is contained in:
arifemrecelik 2018-11-23 10:54:18 +03:00 committed by 偏右
parent 2fa90b17d0
commit f11a4c1b3c
2 changed files with 2 additions and 1 deletions

View File

@ -810,7 +810,7 @@ exports[`DatePicker prop locale should works 1`] = `
<a
class="ant-calendar-today-btn "
role="button"
title="November 22, 2016"
title="November 21, 2016"
>
Днес
</a>

View File

@ -216,6 +216,7 @@ export default function createPicker(TheCalendar: React.ComponentClass): any {
value={(inputValue && inputValue.format(props.format)) || ''}
placeholder={placeholder}
className={props.pickerInputClass}
tabIndex={props.tabIndex}
{...dataOrAriaProps}
/>
{clearIcon}