# White screen when using trim with init empty TextInput field

**URL:** <https://community.thunkable.com/t/white-screen-when-using-trim-with-init-empty-textinput-field/26621>\
**Category:** Questions about Thunkable X\
**Created:** [May 13, 2018, 8:43am UTC](https://community.thunkable.com/t/white-screen-when-using-trim-with-init-empty-textinput-field/26621 "2018-05-13T08:43:34Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![actech](https://avatars.discourse-cdn.com/v4/letter/a/3d9bf3/32.png) [@actech](https://community.thunkable.com/u/actech)\
**Post date:** [May 13, 2018, 8:43am UTC](https://community.thunkable.com/t/white-screen-when-using-trim-with-init-empty-textinput-field/26621/1 "2018-05-13T08:43:34Z")

</div>

On iOS 11.3 and the Android 7.1 emulator, I found the following:

1. Add the Button and TextInput to the screen (do not change any properties)
2. I execute the block below and see the white screen.

![trim](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/8/1/81a39f52317c26640342d1498272d1954e92d7e0.png)

If you enter a symbol in TextInput and then delete it, then there is no error.

---

<div class="post-metadata">

**Author:** ![doctorsof](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/doctorsof/32/30099_2.png) [@doctorsof](https://community.thunkable.com/u/doctorsof)\
**Post date:** [December 10, 2018, 11:31am UTC](https://community.thunkable.com/t/white-screen-when-using-trim-with-init-empty-textinput-field/26621/2 "2018-12-10T11:31:04Z")

</div>

Did you fix?

---

<div class="post-metadata">

**Author:** ![ioannis](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/ioannis/32/146956_2.png) [@ioannis](https://community.thunkable.com/u/ioannis)\
**Post date:** [November 8, 2024, 11:52am UTC](https://community.thunkable.com/t/white-screen-when-using-trim-with-init-empty-textinput-field/26621/3 "2024-11-08T11:52:25Z")

</div>


