You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The data-autocomplete-id-field renders incorrect in editorTemplates.
For example : a Model has a propery Work wich in turn has property's OrganisationPlaceNumber and OrganisationPlaceName.
in the view the Work property will be rendered through a EditorFor-helper . In the EditorTemplate for 'Work' the code: @Html.HiddenFor(model=>model.OrganisationPlaceNumber) renders as: <input id="Work_OrganisationPlaceNumber" type="hidden"...
But the code @Html.AutocompleteFor(model => model.OrganisationPlaceName, model => model.OrganisationPlaceNumber, "GetOrganisationPlaces", "Change", false)
renders as <input class="typeahead tt-hint" data-autocomplete-id-field="OrganisationPlaceNumber" ....
instead of <input class="typeahead tt-hint" data-autocomplete-id-field="Work_OrganisationPlaceNumber" ....
The text was updated successfully, but these errors were encountered:
The data-autocomplete-id-field renders incorrect in editorTemplates.
For example : a Model has a propery
Work
wich in turn has property'sOrganisationPlaceNumber
andOrganisationPlaceName
.in the view the
Work
property will be rendered through a EditorFor-helper . In the EditorTemplate for 'Work' the code:@Html.HiddenFor(model=>model.OrganisationPlaceNumber)
renders as:<input id="Work_OrganisationPlaceNumber" type="hidden"...
But the code
@Html.AutocompleteFor(model => model.OrganisationPlaceName, model => model.OrganisationPlaceNumber, "GetOrganisationPlaces", "Change", false)
renders as
<input class="typeahead tt-hint" data-autocomplete-id-field="OrganisationPlaceNumber" ....
instead of
<input class="typeahead tt-hint" data-autocomplete-id-field="Work_OrganisationPlaceNumber" ....
The text was updated successfully, but these errors were encountered: