Skip to content
This repository was archived by the owner on Oct 2, 2019. It is now read-only.
This repository was archived by the owner on Oct 2, 2019. It is now read-only.

Wrong input focus when angular DebugInfo is disabled #872

Closed
@piebe

Description

@piebe

The plunker below contains the standard ui-select example, but with angular 1.3 and DebugInfo disabled, ie

$compileProvider.debugInfoEnabled(false);

Use the mouse to select the first selectbox, then select the second selectbox and start typing. The result will appear in the first select instead of the second.

http://plnkr.co/edit/aRORZjU8VKhKuJW1pTxx

Most likely cause line 149 in uiSelectDirective:
var targetScope = angular.element(e.target).scope(); //To check if target is other ui-select

.scope() is not available when DebugInfo is turned off...

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions