Skip to content

check for undefined label in _animateAndLockLabel() #18663

Closed

Description

@gentunian

this._label should be checked for undefined in form-field.ts _animateAndLockLabel()

Reproduction

Go to: https://components-issue-gyskyq.stackblitz.io/

Steps to reproduce:

  1. Toggle the slider
  2. Check for console error: Error: Cannot read property 'nativeElement' of undefined

Expected Behavior

No errors in console.

Actual Behavior

Errors are throw in console: Error: Cannot read property 'nativeElement' of undefined

Environment

stackblitz example attached.

Activity

  1. self-assigned this
    on Mar 1, 2020
  2. added
    P3
    on Mar 1, 2020
  3. added a commit that references this issue on Mar 1, 2020
    72debcd
  4. added 2 commits that reference this issue on Mar 12, 2020
    eb92de8
    6fd3e6c
  5. angular-automatic-lock-bot commented on Apr 12, 2020

    @angular-automatic-lock-bot

    This issue has been automatically locked due to inactivity.
    Please file a new issue if you are encountering a similar or related problem.

    Read more about our automatic conversation locking policy.

    This action has been performed automatically by a bot.

  6. locked and limited conversation to collaborators on Apr 12, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

P3

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions