# Fuse Preview will crash when updating an Observable on a TextInput element that has the IsPassword property set to True.

**URL:** https://forums.fusetools.com/t/fuse-preview-will-crash-when-updating-an-observable-on-a-textinput-element-that-has-the-ispassword-property-set-to-true/1439
**Category:** Bug Reports
**Created:** [January 25, 2016, 9:09am UTC](https://forums.fusetools.com/t/fuse-preview-will-crash-when-updating-an-observable-on-a-textinput-element-that-has-the-ispassword-property-set-to-true/1439 "2016-01-25T09:09:22Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![skezo](https://yyz1.discourse-cdn.com/flex035/user_avatar/forums.fusetools.com/skezo/32/34_2.png) [@skezo](https://forums.fusetools.com/u/skezo)
#### Post date: [January 25, 2016, 9:09am UTC](https://forums.fusetools.com/t/fuse-preview-will-crash-when-updating-an-observable-on-a-textinput-element-that-has-the-ispassword-property-set-to-true/1439/1 "2016-01-25T09:09:22Z")

</div>

**Issue:** Fuse Preview will crash when updating an `Observable` on a `TextInput` element that has the `IsPassword` property set to `True`.

The below code recreats the outlined issue:

```auto
<Javascript>
var Observable = require('FuseJS/Observable');

var iAmValue = Observable("");

var valueChanged = function (args) {
    if(args.value.length > 4) {
        iAmValue.value = args.value.substring(0, 4)
    }
}
</Javascript>

<TextInput ux:Name="iAmInput" ValueChanged="{valueChanged}" Value="{iAmValue}" IsPassword="True" />

```

However it will work if the `IsPassword` property is set to `False`, e.g.:

```auto
<Javascript>
var Observable = require('FuseJS/Observable');

var iAmValue = Observable("");

var valueChanged = function (args) {
    if(args.value.length > 4) {
        iAmValue.value = args.value.substring(0, 4)
    }
}
</Javascript>
<TextInput ux:Name="iAmInput" ValueChanged="{valueChanged}" Value="{iAmValue}" IsPassword="False" />

```

Error outputted:

```auto
Unrooting happening after the mixers update phase Fuse.Controls.StackPanel
Unrooting happening after the mixers update phase Fuse.Controls.Text
Unrooting happening after the mixers update phase Fuse.Controls.Graphics.DefaultTextVisual
Unrooting happening after the mixers update phase Fuse.Controls.TextInput
Unrooting happening after the mixers update phase Fuse.Controls.PlainTextEdit
Unrooting happening after the mixers update phase Fuse.Controls.NativeViewHost
Unrooting happening after the mixers update phase Fuse.Controls.FallbackTextEdit.TextEditVisual
Unrooting happening after the mixers update phase Fuse.Controls.FallbackTextEdit.TextWindow
Unrooting happening after the mixers update phase Fuse.Controls.Panel
Unrooting happening after the mixers update phase Fuse.Controls.Rectangle
Unrooting happening after the mixers update phase Fuse.Controls.Graphics.RectangleVisual
Unrooting happening after the mixers update phase Fuse.Controls.Panel
Unrooting happening after the mixers update phase Fuse.Controls.Text
Unrooting happening after the mixers update phase Fuse.Controls.Graphics.DefaultTextVisual
Unrooting happening after the mixers update phase Fuse.Controls.Rectangle
Unrooting happening after the mixers update phase Fuse.Controls.Graphics.RectangleVisual
Unrooting happening after the mixers update phase Fuse.Controls.Text
Unrooting happening after the mixers update phase Fuse.Controls.Graphics.DefaultTextVisual
Rooting happening after the mixers update phase Fuse.Controls.Panel
Unrooting happening after the mixers update phase Fuse.Controls.Panel
Rooting happening after the mixers update phase Fuse.Controls.StackPanel
Rooting happening after the mixers update phase Fuse.Controls.Image
Rooting happening after the mixers update phase Fuse.Controls.Graphics.ImageVisual
Rooting happening after the mixers update phase Fuse.Controls.Text
Rooting happening after the mixers update phase Fuse.Controls.Graphics.DefaultTextVisual
Rooting happening after the mixers update phase Fuse.Controls.Text
Rooting happening after the mixers update phase Fuse.Controls.Graphics.DefaultTextVisual
Rooting happening after the mixers update phase Fuse.Controls.StackPanel
Rooting happening after the mixers update phase Fuse.Controls.Button
Rooting happening after the mixers update phase Fuse.BasicTheme.ButtonText
Rooting happening after the mixers update phase Fuse.Controls.Graphics.DefaultTextVisual
Rooting happening after the mixers update phase Fuse.Controls.Rectangle
Rooting happening after the mixers update phase Fuse.Controls.Graphics.RectangleVisual
Rooting happening after the mixers update phase Fuse.Controls.Button
Rooting happening after the mixers update phase Fuse.BasicTheme.ButtonText
Rooting happening after the mixers update phase Fuse.Controls.Graphics.DefaultTextVisual
Rooting happening after the mixers update phase Fuse.Controls.Rectangle
Rooting happening after the mixers update phase Fuse.Controls.Graphics.RectangleVisual
Unrooting happening after the mixers update phase Outracks.Simulator.FakeApp
Unrooting happening after the mixers update phase Fuse.Controls.Panel
Unrooting happening after the mixers update phase Fuse.Controls.Panel
Unrooting happening after the mixers update phase Fuse.Controls.StackPanel
Unrooting happening after the mixers update phase Fuse.Controls.Image
Unrooting happening after the mixers update phase Fuse.Controls.Graphics.ImageVisual
Unrooting happening after the mixers update phase Fuse.Controls.Text
Unrooting happening after the mixers update phase Fuse.Controls.Graphics.DefaultTextVisual
Unrooting happening after the mixers update phase Fuse.Controls.Text
Unrooting happening after the mixers update phase Fuse.Controls.Graphics.DefaultTextVisual
Unrooting happening after the mixers update phase Fuse.Controls.StackPanel
Unrooting happening after the mixers update phase Fuse.Controls.Button
Unrooting happening after the mixers update phase Fuse.Controls.Rectangle
Unrooting happening after the mixers update phase Fuse.Controls.Graphics.RectangleVisual
Unrooting happening after the mixers update phase Fuse.BasicTheme.ButtonText
Unrooting happening after the mixers update phase Fuse.Controls.Graphics.DefaultTextVisual
Unrooting happening after the mixers update phase Fuse.Controls.Button
Unrooting happening after the mixers update phase Fuse.Controls.Rectangle
Unrooting happening after the mixers update phase Fuse.Controls.Graphics.RectangleVisual
Unrooting happening after the mixers update phase Fuse.BasicTheme.ButtonText
Unrooting happening after the mixers update phase Fuse.Controls.Graphics.DefaultTextVisual
Rooting happening after the mixers update phase Outracks.Simulator.FakeApp
Rooting happening after the mixers update phase Fuse.Controls.Panel
Rooting happening after the mixers update phase Fuse.Controls.Panel
Rooting happening after the mixers update phase Fuse.Controls.StackPanel
Rooting happening after the mixers update phase Fuse.Controls.Image
Rooting happening after the mixers update phase Fuse.Controls.Graphics.ImageVisual
Rooting happening after the mixers update phase Fuse.Controls.Text
Rooting happening after the mixers update phase Fuse.Controls.Graphics.DefaultTextVisual
Rooting happening after the mixers update phase Fuse.Controls.Text
Rooting happening after the mixers update phase Fuse.Controls.Graphics.DefaultTextVisual
Rooting happening after the mixers update phase Fuse.Controls.StackPanel
Rooting happening after the mixers update phase Fuse.Controls.Button
Rooting happening after the mixers update phase Fuse.BasicTheme.ButtonText
Rooting happening after the mixers update phase Fuse.Controls.Graphics.DefaultTextVisual
Rooting happening after the mixers update phase Fuse.Controls.Rectangle
Rooting happening after the mixers update phase Fuse.Controls.Graphics.RectangleVisual
Rooting happening after the mixers update phase Fuse.Controls.Button
Rooting happening after the mixers update phase Fuse.BasicTheme.ButtonText
Rooting happening after the mixers update phase Fuse.Controls.Graphics.DefaultTextVisual
Rooting happening after the mixers update phase Fuse.Controls.Rectangle
Rooting happening after the mixers update phase Fuse.Controls.Graphics.RectangleVisual

```

![file](https://s3.us-east-2.amazonaws.com/fuse-legacy-forum-assets/wSE0tnX5wThE-legacy-files-J266pMJ2RVdV8jfl-nGYkpgFF3QP76Ti2IvglcZcR.png)

---

<div class="post-metadata">

### Author: ![Anders\_Schau\_Knatten](https://yyz1.discourse-cdn.com/flex035/user_avatar/forums.fusetools.com/anders_schau_knatten/32/41_2.png) [@Anders\_Schau\_Knatten](https://forums.fusetools.com/u/Anders_Schau_Knatten)
#### Post date: [January 25, 2016, 3:02pm UTC](https://forums.fusetools.com/t/fuse-preview-will-crash-when-updating-an-observable-on-a-textinput-element-that-has-the-ispassword-property-set-to-true/1439/2 "2016-01-25T15:02:33Z")

</div>

Hi, I’m unable to reproduce this issue. Which version of Fuse do you have? You can find it in the tray icon or by doing `fuse --version`. Are you on Windows or OS X?

---

<div class="post-metadata">

### Author: ![skezo](https://yyz1.discourse-cdn.com/flex035/user_avatar/forums.fusetools.com/skezo/32/34_2.png) [@skezo](https://forums.fusetools.com/u/skezo)
#### Post date: [January 26, 2016, 4:09am UTC](https://forums.fusetools.com/t/fuse-preview-will-crash-when-updating-an-observable-on-a-textinput-element-that-has-the-ispassword-property-set-to-true/1439/3 "2016-01-26T04:09:52Z")

</div>

Fuse version 0.9.7 (build 5544) on Windows 10 Appologies for not supplying that on the initial post.
