# KeyPressed event trigger arguments value is null

**URL:** https://forums.fusetools.com/t/keypressed-event-trigger-arguments-value-is-null/681
**Category:** Bug Reports
**Created:** [January 20, 2016, 9:32am UTC](https://forums.fusetools.com/t/keypressed-event-trigger-arguments-value-is-null/681 "2016-01-20T09:32:27Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![yuanjs](https://avatars.discourse-cdn.com/v4/letter/y/ecccb3/32.png) [@yuanjs](https://forums.fusetools.com/u/yuanjs)
#### Post date: [January 20, 2016, 9:32am UTC](https://forums.fusetools.com/t/keypressed-event-trigger-arguments-value-is-null/681/1 "2016-01-20T09:32:27Z")

</div>

I try to use FuseJS to get the key value of . And I found the argument object’s value if Null.

The output of console.log is: Output: {“data”:{}}

```auto
<App Theme="Basic">
    <JavaScript>
        var inputKey = function(args){
            console.log(JSON.stringify(args));
        };

        module.exports = {
            inputKey: inputKey,
        }

    </JavaScript>
<TextInput PlaceholderText="input something" PlaceholderColor="#eee" KeyPressed="{inputKey}">
</TextInput>
</App>

```
