Hi,
Using
Fuse Version - 1.8.1,
Mac OS Sierra 10.12.6,
Android 8.0.0
When I type long text in TextInput
, placeholder becomes hidden after clear the Value (Text). It will show when we click on textinput again.
Code:
<App>
<JavaScript>
var Observable = require('FuseJS/Observable');
var userInput = Observable();
function sendMessage() {
userInput.value = "";
//userInput.value = "Sample"; // Uncomment this text to set Text
}
module.exports = {
userInput: userInput,
sendMessage: sendMessage
}
</JavaScript>
<ClientPanel>
<Panel Alignment="Bottom">
<TextInput Height="50" Margin="10,0,60,0" PlaceholderText="Type a Message...."
PlaceholderColor="#8f8f8fdd"
FontSize="16" Value="{userInput}" >
<Rectangle Layer="Background" Color="#e4e4e4" />
</TextInput>
<Text Color="#329af0" Margin="10,12" Value="Send" Alignment="Right" TextAlignment="Center" >
<Clicked>
<Callback Handler="{sendMessage}"/>
</Clicked>
</Text>
</Panel>
</ClientPanel>
</App>