Hi, we're having an issue Ignite UI autocomplete input text fields.
we want to input field have autocomplete with history submit
https://www.w3schools.com/tags/att_input_autocomplete.asp
i try set attribute autocomplete= "on" but not working
seem the autocomplete only working with input text have name attribute
sorry my bad english.
thank for any help
Hello Phan,
Thanks for contacting Infragistics support.
Could you give me more details on your approach. Where exactly you are trying to use an autocomplete action.
Is it somewhere on the IgniuteUI controls, if yes, could you please tell me on which exactly you are trying to apply it.
I'm looking forward for your reply.
Hi,
The problem is occur on IE browser 11.For example, I have a simple form like this:
@using (Html.BeginForm("", "", FormMethod.Post)){ <div> @Html.LabelFor(model => model.Username) @(Html.Infragistics().TextEditorFor(model => model.Username).Render()) </div> <div> @Html.LabelFor(model => model.Email) @(Html.Infragistics().TextEditorFor(model => model.Email).Render()) </div> <div> <input type="submit" value="Submit" /> </div>}
When I submit the form, the values of the textbox are not saved in the browser. -> this is my problem
Although I try to add autocomplete attribute to this form, but not working:@using (Html.BeginForm("", "", FormMethod.Post, new { autocomplete = "on" }))
I also try create a simple form (not using Infragistics - like this), of course it work fine.
Thank you.
Hello,
Hidden input always holds values that can be transformed from client to server and vice versa. In several cases they are different from the display values - for example igPercentEditor display value of 10% is hold in the hidden input as 0.1, the date in igDateEditor can be displayed in several formats, but is always good to be transformed in ISO format. So hidden input holds, lets say it "serialized" format, and it is the field that the form will use to send to server - that's why the name attribute is placed on that hidden input. This is the design, and if the client wants such an "Autofill" functionality in IE I don't know if we can provide it. From this topic (https://cloudfour.com/thinks/autofill-what-web-devs-should-know-but-dont/), it seems that for IE and Firefox the only way is with the name attribute, but note that it's much needed to submit a correct serialized value (using hidden input) than having autofill feature. Know that the different browsers implement that Autofill feature in a different ways.
If we want to have such a feature we need a feature request, in order to see if it is possible for implementing and how it can be done.
I'm currently looking on this. I'm going to update you soon.