Skip to content

Commit b9b07d8

Browse files
authored
Merge pull request #177 from react-component/3.x
fix non-unique id
2 parents d1e4268 + e89e097 commit b9b07d8

File tree

2 files changed

+0
-3
lines changed

2 files changed

+0
-3
lines changed

src/TimePicker.jsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@ class Picker extends Component {
2222
inputClassName: '',
2323
popupClassName: '',
2424
popupStyle: {},
25-
id: '',
2625
align: {},
2726
defaultOpenValue: moment(),
2827
allowEmpty: true,

tests/__snapshots__/TimePicker.spec.jsx.snap

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@ exports[`TimePicker allowEmpty cannot allow clear when disabled 1`] = `
77
<input
88
class="rc-time-picker-input"
99
disabled=""
10-
id=""
1110
type="text"
1211
value="12:57:58"
1312
/>
@@ -23,7 +22,6 @@ exports[`TimePicker allowEmpty should allow clear 1`] = `
2322
>
2423
<input
2524
class="rc-time-picker-input"
26-
id=""
2725
type="text"
2826
value="12:57:58"
2927
/>

0 commit comments

Comments
 (0)