diff --git a/src/list-input.js b/src/list-input.js index 3767a98..5a6a504 100644 --- a/src/list-input.js +++ b/src/list-input.js @@ -451,9 +451,11 @@ angular.module('ui.listInput', []) transcludedInput.eq(transcludedInput.length - 1).attr('ng-blur', 'updateItems()'); } else { - // The transcluded content did not have an input, so create one. + // The transcluded content did not have an input, so create. + // add a placeholder + var placholdercontent = 'placeholder="'+attributes.placeholder+'"' if (transcludedInput.length === 0) { - transcludedInput = angular.element(''); + transcludedInput = angular.element(''); } // Enforce a name for validation @@ -513,4 +515,4 @@ angular.module('ui.listInput', []) templateUrl: 'remove-item-button.tpl.html', replace: true }; -}); \ No newline at end of file +});