-
Notifications
You must be signed in to change notification settings - Fork 12
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
Mutliple select not returning multiple data #506
Comments
Under which circumstances? E.g. for the navigation contexts in Sulu it seems to work, I can select multiple navigation contexts, save them, and they are still there when reloading. |
i think they are handle seperatly from the form-mapper |
But I guess the form mapper is using the return value, so it should also work here /cc @alexander-schranz |
e.g. in a custom bundle: <div id="news-brand"
data-aura-component="select@husky"
data-aura-data='[{"id": "1", "name": "test 1"}, {"id": "2", "name": "test 2"}]'
data-aura-default-label="Select Brands"
data-aura-direction="bottom"
data-aura-value-name="name"
data-aura-multiple-select="true"
data-aura-instance-name="brands"
data-mapper-property="brands"
data-type="husky-select"
data-form="true">
</div> this will only return the following also when both are selected: "brands":{
"value":"test 1",
"id":"1"
} run this before save in the form seems todo the right thing. this.sandbox.dom.data('#brands', 'selection'); |
No description provided.
The text was updated successfully, but these errors were encountered: