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

Replication the field using a button #66

Open
fithaN opened this issue Jan 25, 2018 · 1 comment
Open

Replication the field using a button #66

fithaN opened this issue Jan 25, 2018 · 1 comment

Comments

@fithaN
Copy link

fithaN commented Jan 25, 2018

Hi,
I am creating subjects form a dropdown menu which gets replicated after I press a button.
Is there a way I can implement it as below using the material drop down?
Below is what it should look like.
screen shot 2018-01-25 at 4 49 46 pm

@c-moss-talk
Copy link

c-moss-talk commented Oct 16, 2018

I don't really understand what you're asking but if you're looking to make a dropdown that appears on a button click perhaps this example will help

            <DropdownToggleButton onPress={this.dropdown.focus} />
            <Dropdown
              containerStyle={{height: 0, width: 0}}
              pickerStyle={{width: 200}}
              dropdownOffset={{ top: 32, left: -190 }}
              ref={e => this.dropdown = e}
              data={data}
              renderAccessory={() => null}
            />

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

2 participants