From 201166e1509ace2ae714b9cde09761a0174ebf3a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Christoph=20M=C3=BCller?= Date: Thu, 8 Apr 2021 14:06:57 +0200 Subject: [PATCH] Filter by :read-write Fixes #18 --- js/input-field.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/input-field.js b/js/input-field.js index 28c4d91..679dbb1 100644 --- a/js/input-field.js +++ b/js/input-field.js @@ -7,7 +7,7 @@ function processInputs(storage) { // exclude input elements from analysis that cannot be used to input meaningful data (type submit|reset|button|image) // and that cannot be styled appropriately (type radio|checkbox) - $('input:not([type=submit],[type=reset],[type=button],[type=image],[type=radio],[type=checkbox]),textarea').each(function (index) { + $('input:not([type=submit],[type=reset],[type=button],[type=image],[type=radio],[type=checkbox]):read-write,textarea:read-write').each(function (index) { let fieldType = determineFieldType(this, storage); if (typeof fieldType !== "undefined") { getSecurityStatus(storage, this.form);