Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Typing inside the text box will thrown an error #437

Closed
ErkoKnoll opened this issue Sep 22, 2016 · 11 comments
Closed

Typing inside the text box will thrown an error #437

ErkoKnoll opened this issue Sep 22, 2016 · 11 comments

Comments

@ErkoKnoll
Copy link

Error is the following:
Error in ./SelectComponent class SelectComponent - inline template:40:19 caused by: value.match is not a function.

@theunreal
Copy link

theunreal commented Sep 22, 2016

Same here..

error_handler.js:45 EXCEPTION: value.match is not a functionErrorHandler.handleError @ error_handler.js:45next @ application_ref.js:273schedulerFn @ async.js:82SafeSubscriber.__tryOrUnsub @ Subscriber.js:223SafeSubscriber.next @ Subscriber.js:172Subscriber._next @ Subscriber.js:125Subscriber.next @ Subscriber.js:89Subject.next @ Subject.js:55EventEmitter.emit @ async.js:74onError @ ng_zone.js:120onHandleError @ ng_zone_impl.js:64ZoneDelegate.handleError @ zone.js:196Zone.runGuarded @ zone.js:102NgZoneImpl.runInnerGuarded @ ng_zone_impl.js:72NgZone.runGuarded @ ng_zone.js:236outsideHandler @ dom_events.js:26ZoneDelegate.invokeTask @ zone.js:225Zone.runTask @ zone.js:125ZoneTask.invoke @ zone.js:293
error_handler.js:50 ORIGINAL STACKTRACE:ErrorHandler.handleError @ error_handler.js:50next @ application_ref.js:273schedulerFn @ async.js:82SafeSubscriber.__tryOrUnsub @ Subscriber.js:223SafeSubscriber.next @ Subscriber.js:172Subscriber._next @ Subscriber.js:125Subscriber.next @ Subscriber.js:89Subject.next @ Subject.js:55EventEmitter.emit @ async.js:74onError @ ng_zone.js:120onHandleError @ ng_zone_impl.js:64ZoneDelegate.handleError @ zone.js:196Zone.runGuarded @ zone.js:102NgZoneImpl.runInnerGuarded @ ng_zone_impl.js:72NgZone.runGuarded @ ng_zone.js:236outsideHandler @ dom_events.js:26ZoneDelegate.invokeTask @ zone.js:225Zone.runTask @ zone.js:125ZoneTask.invoke @ zone.js:293
error_handler.js:51 TypeError: value.match is not a function
    at HighlightPipe.transform (select-pipes.js:15)
    at view_utils.js:159
    at AppView._View_SelectComponent8.detectChangesInternal (SelectComponent.ngfactory.js:574)
    at AppView.detectChanges (view.js:272)
    at AppView.detectContentChildrenChanges (view.js:290)
    at AppView._View_SelectComponent7.detectChangesInternal (SelectComponent.ngfactory.js:513)
    at AppView.detectChanges (view.js:272)
    at AppView.detectContentChildrenChanges (view.js:290)
    at AppView._View_SelectComponent1.detectChangesInternal (SelectComponent.ngfactory.js:181)
    at AppView.detectChanges (view.js:272)ErrorHandler.handleError @ error_handler.js:51next @ application_ref.js:273schedulerFn @ async.js:82SafeSubscriber.__tryOrUnsub @ Subscriber.js:223SafeSubscriber.next @ Subscriber.js:172Subscriber._next @ Subscriber.js:125Subscriber.next @ Subscriber.js:89Subject.next @ Subject.js:55EventEmitter.emit @ async.js:74onError @ ng_zone.js:120onHandleError @ ng_zone_impl.js:64ZoneDelegate.handleError @ zone.js:196Zone.runGuarded @ zone.js:102NgZoneImpl.runInnerGuarded @ ng_zone_impl.js:72NgZone.runGuarded @ ng_zone.js:236outsideHandler @ dom_events.js:26ZoneDelegate.invokeTask @ zone.js:225Zone.runTask @ zone.js:125ZoneTask.invoke @ zone.js:293
select-pipes.js:15 Uncaught TypeError: value.match is not a function

Seem like the new version is bugged with app error when an user types in the select box @valorkin

@valorkin
Copy link
Member

@otelnov can you check please?

On Fri, Sep 23, 2016, 09:00 Eliran Elnasi notifications@github.com wrote:

Same here..

error_handler.js:45 EXCEPTION: value.match is not a functionErrorHandler.handleError @ error_handler.js:45next @ application_ref.js:273schedulerFn @ async.js:82SafeSubscriber.__tryOrUnsub @ Subscriber.js:223SafeSubscriber.next @ Subscriber.js:172Subscriber._next @ Subscriber.js:125Subscriber.next @ Subscriber.js:89Subject.next @ Subject.js:55EventEmitter.emit @ async.js:74onError @ ng_zone.js:120onHandleError @ ng_zone_impl.js:64ZoneDelegate.handleError @ zone.js:196Zone.runGuarded @ zone.js:102NgZoneImpl.runInnerGuarded @ ng_zone_impl.js:72NgZone.runGuarded @ ng_zone.js:236outsideHandler @ dom_events.js:26ZoneDelegate.invokeTask @ zone.js:225Zone.runTask @ zone.js:125ZoneTask.invoke @ zone.js:293
error_handler.js:50 ORIGINAL STACKTRACE:ErrorHandler.handleError @ error_handler.js:50next @ application_ref.js:273schedulerFn @ async.js:82SafeSubscriber.__tryOrUnsub @ Subscriber.js:223SafeSubscriber.next @ Subscriber.js:172Subscriber._next @ Subscriber.js:125Subscriber.next @ Subscriber.js:89Subject.next @ Subject.js:55EventEmitter.emit @ async.js:74onError @ ng_zone.js:120onHandleError @ ng_zone_impl.js:64ZoneDelegate.handleError @ zone.js:196Zone.runGuarded @ zone.js:102NgZoneImpl.runInnerGuarded @ ng_zone_impl.js:72NgZone.runGuarded @ ng_zone.js:236outsideHandler @ dom_events.js:26ZoneDelegate.invokeTask @ zone.js:225Zone.runTask @ zone.js:125ZoneTask.invoke @ zone.js:293
error_handler.js:51 TypeError: value.match is not a function
at HighlightPipe.transform (select-pipes.js:15)
at view_utils.js:159
at AppView._View_SelectComponent8.detectChangesInternal (SelectComponent.ngfactory.js:574)
at AppView.detectChanges (view.js:272)
at AppView.detectContentChildrenChanges (view.js:290)
at AppView._View_SelectComponent7.detectChangesInternal (SelectComponent.ngfactory.js:513)
at AppView.detectChanges (view.js:272)
at AppView.detectContentChildrenChanges (view.js:290)
at AppView._View_SelectComponent1.detectChangesInternal (SelectComponent.ngfactory.js:181)
at AppView.detectChanges (view.js:272)ErrorHandler.handleError @ error_handler.js:51next @ application_ref.js:273schedulerFn @ async.js:82SafeSubscriber.__tryOrUnsub @ Subscriber.js:223SafeSubscriber.next @ Subscriber.js:172Subscriber._next @ Subscriber.js:125Subscriber.next @ Subscriber.js:89Subject.next @ Subject.js:55EventEmitter.emit @ async.js:74onError @ ng_zone.js:120onHandleError @ ng_zone_impl.js:64ZoneDelegate.handleError @ zone.js:196Zone.runGuarded @ zone.js:102NgZoneImpl.runInnerGuarded @ ng_zone_impl.js:72NgZone.runGuarded @ ng_zone.js:236outsideHandler @ dom_events.js:26ZoneDelegate.invokeTask @ zone.js:225Zone.runTask @ zone.js:125ZoneTask.invoke @ zone.js:293
select-pipes.js:15 Uncaught TypeError: value.match is not a function

Seem like the new version is bugged with app error everything user types
in the select box @valorkin https://github.com/valorkin


You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
#437 (comment),
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABDk4_ANuJqlA3cBveksn29JzdOd9ka7ks5qs2sIgaJpZM4KDwSi
.

@gauzpan
Copy link

gauzpan commented Sep 30, 2016

@valorkin Facing the same issue. What is the current status of this issue. Is it solved?

@gauzpan
Copy link

gauzpan commented Sep 30, 2016

@valorkin Also the problem is there in your demo page also.

@galvanu
Copy link

galvanu commented Oct 2, 2016

Facing the same issue, do you have any idea how to solve this?

@jppellerin
Copy link

same here. +1

valorkin pushed a commit that referenced this issue Oct 5, 2016
* fix typing to input throwing an error and highlight on highlighting the first character

* added rest of the highlight pipe usages
@unsafecode
Copy link

@valorkin Has this fix already been published to npm?

@valorkin
Copy link
Member

Tried to publish today, didn't worked. I will issues and I will publish tomorrow

@Meligy
Copy link

Meligy commented Oct 13, 2016

@valorkin here's a pointer that might help with that problem. I tried today because I really needed this fix for a demo.

I tried running the following npm script rom the package.json file:

    "prepublish": "npm run flow.clean && npm run flow.compile",

and it just broke.

Turns out the flow.clean breaks it. If you only run the flow.compile task, it works just file.

The flow.clean task clears the demo folder and more, which is required by the tsconfig.json.

@dotlouis
Copy link

@valorkin Any updates on when are you going to be able to publish to npm ?
Thanks for your work

@riscie
Copy link

riscie commented Oct 18, 2016

1.1.1 is now published to npm. Thank you @valorkin

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

10 participants