Replaced autocomplete="off" directive with autocomplete="none" for Chrome compatibility
authortflorac@dagon.home
Sun, 09 Sep 2018 11:21:38 +0200
changeset 66 e5279f804dea
parent 65 7a5bb2cb45d2
child 67 bce031c421f0
Replaced autocomplete="off" directive with autocomplete="none" for Chrome compatibility
src/pyams_sequence/widget/templates/reference-display.pt
src/pyams_sequence/widget/templates/reference-input.pt
src/pyams_sequence/widget/templates/references-list-display.pt
src/pyams_sequence/widget/templates/references-list-input.pt
--- a/src/pyams_sequence/widget/templates/reference-display.pt	Tue Aug 28 17:54:11 2018 +0200
+++ b/src/pyams_sequence/widget/templates/reference-display.pt	Sun Sep 09 11:21:38 2018 +0200
@@ -1,4 +1,4 @@
-<input type="hidden" autocomplete="off" readonly
+<input type="hidden" autocomplete="none" readonly
 	tal:attributes="id view/id;
 					name view/name;
 					class string:select2 ${view/klass};
--- a/src/pyams_sequence/widget/templates/reference-input.pt	Tue Aug 28 17:54:11 2018 +0200
+++ b/src/pyams_sequence/widget/templates/reference-input.pt	Sun Sep 09 11:21:38 2018 +0200
@@ -8,7 +8,7 @@
 		tal:attributes="data-ams-select2-target view/name"></i>
 	<div class="select2-parent"
 		 tal:omit-tag="view/required">
-		<input type="hidden" autocomplete="off"
+		<input type="hidden" autocomplete="none"
 			data-ams-select2-minimum-input-length="2"
 			data-ams-select2-allow-clear="true"
 			data-ams-select2-multiple="true"
--- a/src/pyams_sequence/widget/templates/references-list-display.pt	Tue Aug 28 17:54:11 2018 +0200
+++ b/src/pyams_sequence/widget/templates/references-list-display.pt	Sun Sep 09 11:21:38 2018 +0200
@@ -1,4 +1,4 @@
-<input type="hidden" autocomplete="off" readonly
+<input type="hidden" autocomplete="none" readonly
 	tal:attributes="id view/id;
 					name view/name;
 					class string:select2 ${view/klass};
--- a/src/pyams_sequence/widget/templates/references-list-input.pt	Tue Aug 28 17:54:11 2018 +0200
+++ b/src/pyams_sequence/widget/templates/references-list-input.pt	Sun Sep 09 11:21:38 2018 +0200
@@ -8,7 +8,7 @@
 		tal:attributes="data-ams-select2-target view/name"></i>
 	<div class="select2-parent"
 		 tal:omit-tag="view/required">
-		<input type="hidden" autocomplete="off" multiple="multiple"
+		<input type="hidden" autocomplete="none" multiple="multiple"
 			data-ams-select2-minimum-input-length="2"
 			data-ams-select2-allow-clear="true"
 			data-ams-select2-multiple="true"