Skip to content

Conversation

@asvsfs
Copy link

@asvsfs asvsfs commented Jan 19, 2015

Bootstrap button's caption didn't show up and onClick event didn't fire , so i passed the event to tag .

Bootstrap button's caption didn't show up and onClick event didn't fire , so i passed the event to <a> tag .
Copy link
Contributor

Choose a reason for hiding this comment

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

Can you change this to onClick?

Copy link
Author

Choose a reason for hiding this comment

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

No , onClick doesn't work!

@chenglou
Copy link
Contributor

Master seems to work fine (well, with #2884 anyway). I think the bug might be on your side? It's definitely not onclick/onClick's problem as that's only a prop name. If you pass onClickBlaCustomName to BootstrapButton and it does onClick={this.props.onClickBlaCustomName}, you're still fine.

@chenglou
Copy link
Contributor

=)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants