(js) Improve sg-search directive

Will now respect the "listRequiresDot" source parameter and uses
ng-messages to show an error if the minimum number of characters is not
reached.

Fixes #438, #3464
This commit is contained in:
Francis Lachapelle
2016-02-24 21:30:33 -05:00
parent 4b816677b0
commit 70fbeab27a
12 changed files with 75 additions and 31 deletions
+4
View File
@@ -86,6 +86,10 @@
/* SoUser */
- (NSString *) shortUserNameForDisplay;
/* Common defaults and settings */
- (int) minimumSearchLength;
- (NSString *) minimumSearchLengthLabel;
/* labels */
- (NSString *) labelForKey:(NSString *)_key;
- (NSString *) commonLabelForKey:(NSString *)_key;