apostrophe-schemas
Advanced tools
Comparing version 0.1.4 to 0.1.5
{ | ||
"name": "apostrophe-schemas", | ||
"version": "0.1.4", | ||
"version": "0.1.5", | ||
"description": "Schemas for easy editing of properties in Apostrophe objects", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -30,2 +30,5 @@ function AposSchemas() { | ||
return self.displayers[field.type](snippet, field.name, $field, $el, field, function() { | ||
if (field.autocomplete === false) { | ||
$field.attr('autocomplete', 'off'); | ||
} | ||
return populateField(i + 1); | ||
@@ -32,0 +35,0 @@ }); |
@@ -118,2 +118,10 @@ # apostrophe-schemas | ||
#### Preventing Autocomplete | ||
For most field types, you may specify: | ||
autocomplete: false | ||
To request that the browser not try to autocomplete the field's value for the user. The only fields that do not support this are those that are not implemented by a traditional HTML form field, and in all probability browsers won't autocomplete these anyway. | ||
### Editing: Schemas in Nunjucks Templates | ||
@@ -120,0 +128,0 @@ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
67663
855
751