Hello Folks, just reporting a bug with MaxLength property of a Text component.
When we Change the MaxLength using i.e. WhileTrue or something similar… nothing happens:
follow the reproduction:
<App Background="#000">
<JavaScript>
var Observable = require('FuseJS/Observable');
var isFull = Observable(false);
var toggle = function () {
isFull.value = !isFull.value;
}
module.exports = {
isFull: isFull,
toggle: toggle
}
</JavaScript>
<Panel Color="#FFF" Padding="20">
<Text ux:Name="detailsText"
Value="[Click Me] Really Big text goes here... just to test the text truncation when we use MaxLenght... i think maybe a bug was found here..."
Alignment="CenterLeft" TextWrapping="Wrap"
MaxLength="30"/>
<WhileTrue Value="{isFull}">
<Change detailsText.MaxLength="2048" />
<Change detailsText.Color="#FF0000" />
</WhileTrue>
<Clicked>
<Callback Handler="{toggle}" />
</Clicked>
</Panel>
</App>
Fuse Version: Fuse version 0.36.1 (build 12010)
OS: OSX Sierra 10.12.4
Tks