fix(checkbox): resolve TypeError for inputDirective.link