-
Notifications
You must be signed in to change notification settings - Fork 72
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
Option not selected #61
Comments
I modified the following code (please, note the selected header has a '2' at the end)
why isn't this change showed? |
The original element
the rendered element doesn't have any id. Hence, when I add a selected option, it isn't selected. |
When I add new options, I need to refresh/rebuild this component so it reflects these changes in its options: how would it be, please? |
Hi! You're right that multi.js needs to be refreshed whenever the underlying select element changes. The simplest way to do this is to trigger the |
I suggest to automatically do it whenever the user selects an option. I will give that a try. :) Best regards. |
Hi Abelardo, were you able to refresh the multi.js? I tried with the |
Hi there,
I have this code:
As you can see, the final statement is a console.log where is displayed the following result:
<option value="6">TEst</option><option value="5">Categoría 2</option><option value="4" selected='selected'>Categoría 1</option>
Again, as you can see, the last option has the selected attribute.
After doing this, the following lines were written:
The issue here is none of these items are selected:

What should happen?
The last item should be selected and moved into the right select
What happens?

None of them are selected.
The text was updated successfully, but these errors were encountered: