We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ef5b79b commit d279796Copy full SHA for d279796
src/scripts/DateInput.js
@@ -182,8 +182,8 @@ export default class DateInput extends Component {
182
/>
183
<span
184
tabIndex={ -1 }
185
- style={ { cursor: 'pointer' } }
186
- onClick={ this.onDateIconClick }
+ style={ props.disabled ? undefined : { cursor: 'pointer' } }
+ onClick={ props.disabled ? undefined : this.onDateIconClick }
187
>
188
<Icon icon='event' className='slds-input__icon' />
189
</span>
0 commit comments