Skip to content
This repository has been archived by the owner on Sep 1, 2020. It is now read-only.

determine disabled status of selected menu item when handleKeyNavigat… #172

Merged
merged 2 commits into from
Dec 1, 2017

Conversation

WaterDesk
Copy link
Contributor

determine disabled status of selected menu item when handleKeyNavigation 'Enter' event

this.hideMenu(e);
{
// determine the selected item is disabled or not
let disabled = false;
Copy link
Owner

@vkbansal vkbansal Dec 1, 2017

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

you can directly write

const disabled = this.seletedItemRef && 
  this.seletedItemRef.props &&
this.seletedItemRef.props.disabled

@vkbansal vkbansal merged commit cdced63 into vkbansal:master Dec 1, 2017
@WaterDesk
Copy link
Contributor Author

@vkbansal Could you please help to make a patch release? I want to use the latest version in my product. Thank you!

@vkbansal
Copy link
Owner

vkbansal commented Dec 5, 2017

done as v2.9.1

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants