formio.js icon indicating copy to clipboard operation
formio.js copied to clipboard

Turn off form autocompletion

Open Inaamhusain opened this issue 7 years ago • 9 comments

Is there a way where we can turn off browser autocomplete? for both form and field level. Using autocomplete="off" we can do that. but looking into formio with configurable.

Inaamhusain avatar Jul 01 '19 09:07 Inaamhusain

Currently there is not. We are looking at adding the ability to customize the autocomplete attribute of input components which will hopefully be coming soon. You could then set it to off.

randallknutson avatar Jul 01 '19 14:07 randallknutson

Thanks for the update.

Inaamhusain avatar Jul 03 '19 12:07 Inaamhusain

@randallknutson is the turn off autocomplete available in form.io 4.6.1

saravananshc avatar Oct 30 '19 05:10 saravananshc

@saravananshc This feature is currently not available. As mentioned, we are hoping to implement this in the future

jeriah-formio avatar Oct 30 '19 13:10 jeriah-formio

@jhen1422 it's a year later, any update?

SalTor avatar Sep 10 '20 15:09 SalTor

Hello @SalTor,

This is functionality that we are currently working on. We will let you know once it has been released.

wag110894 avatar Sep 10 '20 16:09 wag110894

I can see there's autocomplete feature, but it sets value to "off" even if I provide alternative value. This behavior is not respected by Chrome. What should we do? Any way to ensure that value provided in JSON is passed as is, without modification?

hugeps avatar Oct 28 '20 11:10 hugeps

One option would be to disable it on the element level on page render (listen for "render" or "nextPage" or "prevPage" events from form.on(event: string, (data: any) => {})

SalTor avatar Oct 28 '20 13:10 SalTor

Closing this thread as it is stale. Please feel free to reopen if needed.

heather-formio avatar Oct 12 '22 12:10 heather-formio