Skip to content
View LuizCostaa's full-sized avatar
πŸ‘¨β€πŸ’»
πŸ‘¨β€πŸ’»

Highlights

  • Pro

Block or report LuizCostaa

Block user

Prevent this user from interacting with your repositories and sending you notifications. Learn more about blocking users.

You must be logged in to block users.

Please don't include any personal information such as legal names or email addresses. Maximum 100 characters, markdown supported. This note will be visible to only you.
Report abuse

Contact GitHub support about this user’s behavior. Learn more about reporting abuse.

Report abuse
LuizCostaa/README.md

Hi πŸ‘‹, I'm Luiz Guilherme

An eternal apprentice.

luizcostaa

  • 🌱 I’m currently learning Dart, Flutter

  • πŸ’¬ Ask me about Angular, JavaScript, HTML, IONIC

  • πŸ“« How to reach me luizguilherme.lgsc@gmail.com

Connect with me:

luizcostaa luizcostaa luixxxcosta luiz_costaa

Pinned Loading

  1. No WhiteSpace Validator for reactive... No WhiteSpace Validator for reactive form control
    1
    import { AbstractControl } from '@angular/forms';
    2
    
                  
    3
    public noWhitespaceValidator(control: AbstractControl) { 
    4
    	if (control.value.length === 0) {
    5
    		return null;
  2. Empty validator to reactive form con... Empty validator to reactive form control
    1
    import { AbstractControl, ValidationErrors } from '@angular/forms';
    2
    
                  
    3
    public customIsEmpty(control: AbstractControl): ValidationErrors {
    4
    	if (control.value.trim().length === 0) {
    5
    		return {isEmpty: true};