I have a troubled problem with Chrome Autofill on the dropdown list Dropdown list selects a county to add a permit fee is. When you auto-fill an address, it selects the self-filled county name in the dropdown list, which then adds a permit fee. I tried to amend the dropdown list id from selCounty
, which was not working.
Depending on the circumstances, a permit fee may not be required, so I can see that customers unknowingly can be realized without exchange.
I have looked at similar questions related to user name / password related issues, and instead of using a hidden dropdown for it, instead of destined to choose a wild knife in the dark have tried.
Here is the dropdown list code:
& lt; Id = "fakeSelCty" style = "display: none" & gt; & Lt; / Select & gt; @ Html.DropDownListFor (x => x.SelectedPermitCountyId, New SelectList (Model.PermitCounties, "PermitCountyId", "PermitCounty"), New {@class = "form-control input-sm", id = "selCty"} )
Any suggestions auto-integer = "off"
does not work in Chrome?
I used this solution @readonly = "readonly", onfocus = "this.removeAttribute ('readonly' ); ""
I have revised CSS to change the appearance of the readability, so it will not confuse the user.
No comments:
Post a Comment