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

New Feature : Display selected Item in the Modal as it is in renderItem #4

Open
Amol-B-Patil opened this issue Jun 22, 2020 · 1 comment

Comments

@Amol-B-Patil
Copy link

Hi,

Thanks for the good repository.

I want to request a new feature.
Please provide the renderedItem as it is to the Model after selecting a item.

e.g.

If I made a custom renderItem with Image and Text as dropDown Item, then same rendered Item should be displayed in Model after selecting a specific item from drop-down. Currently, it is showing only text from the rendered Item.

@donni106
Copy link
Contributor

Currently there is a buttonText in the state, that gets rendered and receives changes on selection.
This would need a change. It could be an optional choose for a user, so it would need conditions in ModalDropdown. On the other hand it can be the default way of the implementation. Need to care of backwards compatibility!

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