BoldSign®Effortlessly integrate e-signatures into your app with the BoldSign® API. Create a sandbox account!
Hello,
I am using a partial view with a subModel:
<partial name="PartialViews/FilteringView" model="@Model.Filtering" />
In that partial view, I am using a combox (but i have the same issue with other components)
<ejs-combobox id="Filtering_DepartmentId" ejs-for="@Model.DepartmentId" dataSource="@ViewBag.DepartmentIds" placeholder="Department">
<e-combobox-fields text="Name" value="Id"></e-combobox-fields>
</ejs-combobox>
In the Controller.Post(model model), my model.Filtering.DepartmentId is null because of the id which doesn't follow the schema "Model.Filtering.DepartmentId".
When I change the Id to <ejs-combobox id="Filtering.DepartmentId", the component is not working because of the "." I assume.
I can't change the name of the component, even with a partial name prefix.
In conclusion, I need a way to use your components in a partial view with submodel that can be posted with the good values.
Regards,
Laurent