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

how to get attrs ? #575

Open
RayhanYulanda opened this issue Aug 16, 2019 · 0 comments
Open

how to get attrs ? #575

RayhanYulanda opened this issue Aug 16, 2019 · 0 comments

Comments

@RayhanYulanda
Copy link

RayhanYulanda commented Aug 16, 2019

Version

Tell us which versions you are using:

  • tcomb-form-native (newest)
  • react-native v0.59.9

Expected behaviour

i need to get the attribute that in the fields. how to get it?

i made this :

var options = {
    fields: {
        name: {
            label: 'Name',
            stylesheet : textInput,
            attrs: {
                idForm: 12,
            }
        },
}

how to get attrs the idForm? because when i call this.refs.form.getValue(); just send the 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

No branches or pull requests

1 participant