# TextInput failed to render in v0.8.2

**URL:** <https://forums.fusetools.com/t/textinput-failed-to-render-in-v0-8-2/6824>\
**Category:** Bug Reports\
**Created:** [October 14, 2015, 9:57am UTC](https://forums.fusetools.com/t/textinput-failed-to-render-in-v0-8-2/6824 "2015-10-14T09:57:07Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![Vicker\_Leung](https://yyz1.discourse-cdn.com/flex035/user_avatar/forums.fusetools.com/vicker_leung/32/392_2.png) [@Vicker\_Leung](https://forums.fusetools.com/u/Vicker_Leung)\
**Post date:** [October 14, 2015, 9:57am UTC](https://forums.fusetools.com/t/textinput-failed-to-render-in-v0-8-2/6824/1 "2015-10-14T09:57:07Z")

</div>

Recently found that TextInput failed to render (both local preview and on Android device) for Fuse v0.8.2. Will test on v0.8.3 shortly. The problem only affect the default theme (i.e. Graphics).

Sample app follows.

```auto
<App Theme="Graphics">
    <StackPanel>
        <Text Value="testing" />
        <TextInput />
    </StackPanel>
</App>

```

Nothing is shown or clickable for the TextInput position.

---

<div class="post-metadata">

**Author:** ![Vicker\_Leung](https://yyz1.discourse-cdn.com/flex035/user_avatar/forums.fusetools.com/vicker_leung/32/392_2.png) [@Vicker\_Leung](https://forums.fusetools.com/u/Vicker_Leung)\
**Post date:** [October 14, 2015, 10:17am UTC](https://forums.fusetools.com/t/textinput-failed-to-render-in-v0-8-2/6824/2 "2015-10-14T10:17:58Z")

</div>

v0.8.3 also failed.

---

<div class="post-metadata">

**Author:** ![Vegard\_Strand\_Lende](https://yyz1.discourse-cdn.com/flex035/user_avatar/forums.fusetools.com/vegard_strand_lende/32/349_2.png) [@Vegard\_Strand\_Lende](https://forums.fusetools.com/u/Vegard_Strand_Lende)\
**Post date:** [October 14, 2015, 11:34am UTC](https://forums.fusetools.com/t/textinput-failed-to-render-in-v0-8-2/6824/3 "2015-10-14T11:34:28Z")

</div>

Thanks for the report! This looks like a bug in GraphicsTheme, raising an issue for this 🙂

---

<div class="post-metadata">

**Author:** ![Vegard\_Strand\_Lende](https://yyz1.discourse-cdn.com/flex035/user_avatar/forums.fusetools.com/vegard_strand_lende/32/349_2.png) [@Vegard\_Strand\_Lende](https://forums.fusetools.com/u/Vegard_Strand_Lende)\
**Post date:** [October 14, 2015, 3:35pm UTC](https://forums.fusetools.com/t/textinput-failed-to-render-in-v0-8-2/6824/4 "2015-10-14T15:35:00Z")

</div>

The purpose of GraphicsTheme is to provide the drawing primivites for elements such as `<Rectangle />` `<Circle />` `<Image />` `<Text />` etc. `<TextInput />` however is a highlevel control which needs a style to define its look. So if you want to use GraphicsTheme (instead of BasicTheme, I guess you are making your own theme?) you need to define this yourself.

Try adding this to your app 🙂

```auto
<Style>
    <TextInput
        ux:Name="_textInput"
        TextColor="0,0,0,1"
        HitTestMode="LocalBoundsAndChildren"
        Focus.IsFocusable="true"
        Focus.Delegate="_textInputCore">

        <PlainTextEdit ux:Name="_textInputCore"/>

        <WhilePressed>
            <GiveFocus Target="_textInputCore" />
        </WhilePressed>

    </TextInput>
</Style>

```

---

<div class="post-metadata">

**Author:** ![Vicker\_Leung](https://yyz1.discourse-cdn.com/flex035/user_avatar/forums.fusetools.com/vicker_leung/32/392_2.png) [@Vicker\_Leung](https://forums.fusetools.com/u/Vicker_Leung)\
**Post date:** [October 14, 2015, 7:07pm UTC](https://forums.fusetools.com/t/textinput-failed-to-render-in-v0-8-2/6824/5 "2015-10-14T19:07:22Z")

</div>

@Vegard

Thanks for the information. I will try that out when I get back to my dev machine.

Just a quick follow up. Is this considered a bug that will be fixed or is normal behavior? If it is the later, I do suggest updating the Fuse documentation a bit.

According to the documentation [https://www.fusetools.com/learn/fuse#-graphicstheme-](https://www.fusetools.com/learn/fuse#-graphicstheme-)

```auto
By default, App uses a GraphicsTheme

TextInput - will be rendered using the platform's native text edit controls

```

So developers like me may suppose it will work out of the box.

---

<div class="post-metadata">

**Author:** ![Remi\_Pedersen](https://yyz1.discourse-cdn.com/flex035/user_avatar/forums.fusetools.com/remi_pedersen/32/432_2.png) [@Remi\_Pedersen](https://forums.fusetools.com/u/Remi_Pedersen)\
**Post date:** [October 15, 2015, 12:26pm UTC](https://forums.fusetools.com/t/textinput-failed-to-render-in-v0-8-2/6824/6 "2015-10-15T12:26:49Z")

</div>

Thanks for letting us know! I’ve updated the documentation to reflect how this really works. 🙂

---

<div class="post-metadata">

**Author:** ![Vicker\_Leung](https://yyz1.discourse-cdn.com/flex035/user_avatar/forums.fusetools.com/vicker_leung/32/392_2.png) [@Vicker\_Leung](https://forums.fusetools.com/u/Vicker_Leung)\
**Post date:** [October 16, 2015, 2:09am UTC](https://forums.fusetools.com/t/textinput-failed-to-render-in-v0-8-2/6824/7 "2015-10-16T02:09:57Z")

</div>

Cool Remi. Including Vegard’s sample TextInput implementation will be a great reference as well for those who want to customize TextInput GraphicsTheme.
