Skip to content

Instantly share code, notes, and snippets.

@TLiu2014
Last active November 23, 2018 19:58
Show Gist options
  • Save TLiu2014/21b1a1bf7f17e25241da753841973da0 to your computer and use it in GitHub Desktop.
Save TLiu2014/21b1a1bf7f17e25241da753841973da0 to your computer and use it in GitHub Desktop.
getErrorMessage(pickerInput: string): string {
if (!pickerInput || pickerInput === '' ) {
return 'Please choose a date.';
}
return this.isMyDateFormat(pickerInput);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment