Skip to content

OpenGraphAwareInput onChange throws error ReferenceError: Can't find variable: event #44

@raghava

Description

@raghava

Description of the issue

onChange function props attached to OpenGraphAwareInput throws an error

How to reproduce

Try the below code snippet

Code snippet

<OpenGraphAwareInput 
          showIcon
          onChange={(event) => { console.log(event); }} />

ERROR

 WARN  Possible Unhandled Promise Rejection (id: 4):
ReferenceError: Can't find variable: event
http://10.0.2.2:8081/index.bundle?platform=android&dev=true&minify=false:141892:38
tryCallOne@http://10.0.2.2:8081/index.bundle?platform=android&dev=true&minify=false:27024:16
http://10.0.2.2:8081/index.bundle?platform=android&dev=true&minify=false:27125:27
_callTimer@http://10.0.2.2:8081/index.bundle?platform=android&dev=true&minify=false:30579:17
_callImmediatesPass@http://10.0.2.2:8081/index.bundle?platform=android&dev=true&minify=false:30615:19
callImmediates@http://10.0.2.2:8081/index.bundle?platform=android&dev=true&minify=false:30834:33
callImmediates@[native code]
__callImmediates@http://10.0.2.2:8081/index.bundle?platform=android&dev=true&minify=false:2591:35
http://10.0.2.2:8081/index.bundle?platform=android&dev=true&minify=false:2368:34
__guard@http://10.0.2.2:8081/index.bundle?platform=android&dev=true&minify=false:2574:15
flushedQueue@http://10.0.2.2:8081/index.bundle?platform=android&dev=true&minify=false:2367:21
flushedQueue@[native code]
invokeCallbackAndReturnFlushedQueue@[native code]

Versions

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions