Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

(Feature) Select input for Boolean type for contract type acc #229

Merged
merged 13 commits into from
Dec 26, 2018

Conversation

vbaranov
Copy link
Collaborator

screen shot 2018-12-19 at 19 52 25

Based on #219

@dennis00010011b
Copy link

@vbaranov
Execute method: parameter field doesn't allow input for functions with no boolean return
screen shot 2018-12-19 at 09 31 35

@vbaranov
Copy link
Collaborator Author

Execute method: parameter field doesn't allow input for functions with no boolean return

Thanks, @dennis00010011b. Fixed here 2f89dfc

@vbaranov vbaranov added this to the NW release 4.10.1 milestone Dec 20, 2018
if (params.type === 'bool' && isInput) {
field = (
<SendTransactionInputSelect
key={Math.random()}

Choose a reason for hiding this comment

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

Why is this necesssary?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Indeed, key prop is not necessary for inputs. Removed, thanks @fvictorio

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

Successfully merging this pull request may close these issues.

4 participants