﻿/**
* @ngdoc directive
* @name umbraco.directives.directive:no-password-manager
* @attribte
* @function
* @description
* Added attributes to block password manager elements should as LastPass

* @example
* <example module="umbraco.directives">
*    <file name="index.html">
*        <input type="text" no-password-manager />
*    </file>
* </example>
**/
angular.module("umbraco.directives")
    .directive('noPasswordManager', function () {
        return {
            restrict: 'A',            
            link: function (scope, element, attrs) {                
                element.attr("data-lpignore", "true");
            }
        }
    });

﻿/**
* @ngdoc directive
* @name umbraco.directives.directive:noPasswordManager
* @attribte
* @function
* @description
* Added attributes to block password manager elements should as LastPass

* @example
* <example module="umbraco.directives">
*    <file name="index.html">
*        <input type="text" no-password-manager />
*    </file>
* </example>
**/
angular.module("umbraco.directives")
    .directive('noPasswordManager', function () {
        return {
            restrict: 'A',            
            link: function (scope, element, attrs) {                
                element.attr("data-lpignore", "true");
            }
        }
    });

Fix noPasswordManager name for docs
Fix noPasswordManager name for docs

Fix `noPasswordManager` for documentation.
https://our.umbraco.com/apidocs/v8/ui/#/api/umbraco.directives.directive:no-password-manager