File tree Expand file tree Collapse file tree 2 files changed +4
-8
lines changed
.storybook/__storyshots__ Expand file tree Collapse file tree 2 files changed +4
-8
lines changed Original file line number Diff line number Diff line change @@ -1440,12 +1440,8 @@ exports[`Disabled`] = `
14401440 type={undefined}
14411441 value="04/13/2016" />
14421442 <span
1443- onClick={[Function]}
1444- style={
1445- Object {
1446- "cursor": "pointer",
1447- }
1448- }
1443+ onClick={undefined}
1444+ style={undefined}
14491445 tabIndex={-1}>
14501446 <svg
14511447 aria-hidden={true}
Original file line number Diff line number Diff line change @@ -182,8 +182,8 @@ export default class DateInput extends Component {
182182 />
183183 < span
184184 tabIndex = { - 1 }
185- style = { { cursor : 'pointer' } }
186- onClick = { this . onDateIconClick }
185+ style = { props . disabled ? undefined : { cursor : 'pointer' } }
186+ onClick = { props . disabled ? undefined : this . onDateIconClick }
187187 >
188188 < Icon icon = 'event' className = 'slds-input__icon' />
189189 </ span >
You can’t perform that action at this time.
0 commit comments