Skip to content

Conversation

@stdavis
Copy link

@stdavis stdavis commented Mar 29, 2019

This caused issues in my onPress handlers that were expecting the value of the button, not the button object.

This caused issues in my `onPress` handlers that were expecting the value of the button, not the button object.
@victorwvieira
Copy link

Until this merge done I'm doing using typeof

        if (typeof form.data === 'object') {
            setForm({
                ...form,
                data: form.data.value
            })
        }

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