loading...

React Native Set Default PlaceHolder Text in TextInput Component

skptricks profile image skptricks ・1 min read

Post Link : React Native Set Default PlaceHolder Text in TextInput Component

This tutorial explains how to add or set default PlaceHolder text in TextInput Component in react native application. PlaceHolder text can be anything with a specific message or short information that tells the application user regarding to that particular TextInput. By seeing the PlaceHolder user knows what type of value or information required to fill inside Text Input component.When user starts typing the user’s entered text replaces the placeholder and when user erased all the text from TextInput then again placeholder becomes visible.

Basically Placeholder provides hints or message about that particular TextInput Component, To add PlaceHolder text in TextInput Component, you need to specify placeholder=" Enter Your First Name" Props inside the TextInput Component.

Download code

Posted on by:

skptricks profile

skptricks

@skptricks

Welcome to skptricks, I have written and developed this site so that Learner may learn computer science related technologies and various programming ...

Discussion

markdown guide