Page MenuHomePhabricator

Find & Replace Autofill by browser
Open, Needs TriagePublic

Description

WikiEditor 2010 Find and Replace UI enabled the browser to save recent request to autofill.
Newer Find and Replace from CodeMirror has many cool capabilities, but browser doesn't store recent searches in autofill. I used to use autofill quite lot for common Find and Replace before, so the same option would be helpful for me. (Or store it in the extension, like in the proposal T114598)

image.png (2,341×150 px, 13 KB)

Event Timeline

Could you describe the steps to get autofill using the WikiEditor 2010 Find and Replace dialog? I am unfamiliar with this feature.

When I open Find & Replace in WEd 2010 and I click into Find / Replace field I get autofill provided by the browser (see below). I don't get anything like this in CodeMirror F&R.

image.png (548×407 px, 22 KB)

I think we just need to add the autocomplete attribute to the input fields.

When I open Find & Replace in WEd 2010 and I click into Find / Replace field I get autofill provided by the browser (see below). I don't get anything like this in CodeMirror F&R.

F101228161

Could you share which browser and operating system you're using?

Testing on my end (Ubuntu, Chrome 153 / Firefox 155), I am not able to reproduce this behaviour. Notably, the inputs do not have the autocomplete attribute, nor are they descendants of a <form> tag, and the submit buttons are not type=submit – as is typically required for browser autocompletion to work.