mirror of
https://github.com/garraflavatra/rolens.git
synced 2025-07-15 04:44:05 +00:00
Disable spellcheck and autocomplete on all inputs
This commit is contained in:
@ -10,6 +10,9 @@ export default function input(node, { autofocus, type, onValid, onInvalid, manda
|
||||
mandatory: false,
|
||||
}) {
|
||||
|
||||
node.setAttribute('spellcheck', false);
|
||||
node.setAttribute('autocomplete', false);
|
||||
|
||||
const getMessage = () => {
|
||||
const checkInteger = () => (isInt(node.value) ? false : 'Value must be an integer');
|
||||
const checkNumberBoundaries = boundaries => {
|
||||
|
Reference in New Issue
Block a user