-
Notifications
You must be signed in to change notification settings - Fork 211
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
setText method missing #78
Comments
What is the use case here? I believe you can call select($li) to achieve the same function. |
Use case was, that I needed to set text, to value, that was not in the select list. If I have following values in select:
And I need to set text to "Denmark":
|
Check this:
The |
Ok. Am I missing something here? I altered setText function I am proposing from select method you are referring to. The reason for altering select method was, because it returns if list does not already contain the item.
So there must be a way to setText in editable-select by using the select method. I just don't understand how it is done. So could you provide an example? |
There was no option to set text.
I extended EditableSelect with 'setText' method like this as a workaround. It would be nice, if method was added to editableSelect.
The text was updated successfully, but these errors were encountered: