Skip to content
This repository has been archived by the owner on Sep 20, 2023. It is now read-only.

Commit

Permalink
add searchPlaceholder attrs
Browse files Browse the repository at this point in the history
  • Loading branch information
izifortune committed Dec 17, 2014
1 parent 90ec671 commit f7075a3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ion-google-place.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ angular.module('ion-google-place', [])
'<div class="bar bar-header item-input-inset">',
'<label class="item-input-wrapper">',
'<i class="icon ion-ios7-search placeholder-icon"></i>',
'<input class="google-place-search" type="search" ng-model="searchQuery" placeholder="Enter an address, place or ZIP code">',
'<input class="google-place-search" type="search" ng-model="searchQuery" placeholder="' + attrs.searchPlaceholder || 'Enter an address, place or ZIP code' + '">',
'</label>',
'<button class="button button-clear">',
'Cancel',
Expand Down Expand Up @@ -118,4 +118,4 @@ angular.module('ion-google-place', [])
}
};
}
]);
]);

0 comments on commit f7075a3

Please sign in to comment.