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

Different value on dropdown #89

Open
Drex-luthor opened this issue May 31, 2019 · 5 comments
Open

Different value on dropdown #89

Drex-luthor opened this issue May 31, 2019 · 5 comments

Comments

@Drex-luthor
Copy link

Is it possible to have a different text displayed when the drop-down is selected?

Have it say "Afghanistan" on the drop-down but "AF" when selected.

@patrickkunka
Copy link
Owner

patrickkunka commented Jun 11, 2019

Hi there - I'm afraid this isn't possible currently, as easydropdown follows the behaviour of the native <select> element here.

I'd be open to adding a new API for this if you think it would be useful?

@Drex-luthor
Copy link
Author

Yes, I see. I think it would be very helpful to have something of this sort to have more control of the select element. If possible it would be great to add this as a feature.

@tevdevelops
Copy link

tevdevelops commented Sep 19, 2019

I'm actually trying to implement this same exact feature and I think it would be very helpful and continue to add to the customization of this library. I am trying to hack around by using the api events but it seems your methods to update the dropdown text are overwriting my work

@7iomka
Copy link

7iomka commented Jan 23, 2020

Any news?

@yoktav
Copy link

yoktav commented Aug 27, 2020

I guess @patrickkunka is busy

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

5 participants