Skip to main content
Open

Make it possible to disable autocorrect for (search) fields

Related products:Universal UI
  • March 3, 2026
  • 3 replies
  • 30 views

Forum|alt.badge.img

When using the Universal GUI in Mac OS Safari, the fact that all edit fields use autocorrect by default, is very annoying. 

For example, when searching for a partial customer name, at one time you see the you typed enough characters to find the record you want. When you then navigate away from the search field, autocorrect kicks in, and often the autocorrected partial name is not what you want. Then the grid is empty or at least changed.

As far as I see, this only happens in Safari, because Chrome does not have autocorrect.

It seems disabling autocorrect is only possible / necessary in Safari and Firefox: https://caniuse.com/?search=autocorrect
 

Being able to also disable autocorrect for form fields and grid fields could also be a handy feature. But there it could probably default to autocorrect=on for most text fields.

3 replies

Arie V
Community Manager
Forum|alt.badge.img+12
  • Community Manager
  • March 20, 2026
NewOpen

Arie V
Community Manager
Forum|alt.badge.img+12
  • Community Manager
  • March 20, 2026

To manage expectations: I don’t see us implementing this feature in the coming few years, unless the Chromium browsers also adopt the autocorrect attribute and many Community users vote on this Idea.


Forum|alt.badge.img
  • Author
  • Apprentice
  • March 23, 2026

I understand. Because this is really annoying for me, I took the time to write a tampermonkey script to do this myself:

// ==UserScript==
// @name Disable Autocorrect
// @namespace http://tampermonkey.net
// @version 1.0
// @description Schakelt autocorrect uit op specifieke velden
// @author Bjinse Veenstra
// @match https://*.yourdomain/universal*
// @grant none
// ==/UserScript==

(function() {
'use strict';

// Functie om attributen aan te passen
function disableFeatures(element) {
element.setAttribute('autocomplete', 'off');
element.setAttribute('autocorrect', 'off');
element.setAttribute('autocapitalize', 'none');
element.setAttribute('spellcheck', 'false');
}

// Selecteer je velden (bijv. op class, ID of type)
//const selectors = 'input[type="text"], textarea, .mijn-specifieke-class';
const selectors = 'input[placeholder="Search"], input[placeholder="Zoeken"]';

// Voer uit bij laden
document.querySelectorAll(selectors).forEach(disableFeatures);

// Optioneel: Observeer dynamisch toegevoegde velden
const observer = new MutationObserver((mutations) => {
mutations.forEach((mutation) => {
mutation.addedNodes.forEach((node) => {
if (node.nodeType === 1 && node.matches(selectors)) {
disableFeatures(node);
}
});
});
});

observer.observe(document.body, { childList: true, subtree: true });
})();

For any accidental readers: Only applicable for Safari and Firefox users. Only tested on Desktop Safari on MacOS, but it probably works on iPad and iPhone also. (Needs Tampermonkey app).