Skip to content

Selected values vanishes arbitarily #43

@Murtoz-h

Description

@Murtoz-h

Using for ASP.NET core MVC. I have a partial view where required data source is loaded
Partial View:
@{ IEnumerable<MedicineMaster> meds = repo.GetAllEnumerable(); }

<ejs-multiselect id="multiselect" name="MedicineIDs" value="@Model" dataSource="@meds" enableVirtualization="true" filterBarPlaceholder="search" allowFiltering="true" placeholder="Select Medicines" mode="Box" filterType="Contains" > <e-multiselect-fields value="MedicineID" text="Name" ></e-multiselect-fields> </ejs-multiselect>

Parent View:
..... <partial name="SelectMultiMedicinesPartial" for="MedicineIDs" /> ....
Now at first if I select two medicines and save it, its done no problem, then got to edit page again and save it without anything new, it will bind the model with last one selected medicine. This is just behaving arbitrary in every post req.
Please look at this urgently. your components are helping so much.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions