Questions tagged [textinput]

For questions related to a single-line, text input. EG: ``, or a UITextField, or TextInput (Flash), or `` (RSS). ... Use textarea for multiline or WYSIWYG text controls.

Use the tag for questions related to a single-line, text input.
For example:

  1. <input type="text" ...>
  2. An Apple UITextField control
  3. A Flash TextInput control
  4. An RSS <textinput>

Use for multiline or WYSIWYG text controls.

References:

  1. <input> references: Mozilla MDN,   w3schools
  2. UITextField class reference (Apple IOS)
  3. TextInput class reference (Adobe Flash)
  4. RSS <textinput> reference


Note:
Hand purge the tag? (It currently has 18 questions as opposed to 347 for .)

1365 questions
17
votes
3 answers

VueJS - How to detect Ctrl+V?

I've already seen the answers to this question, but it's not the solution I need, since it's for jQuery, and I need something for vue.js. So far, I was able to detect single character presses using the ff. code: export default { name:…
ITWitch
  • 1,729
  • 5
  • 20
  • 38
15
votes
5 answers

how to write content in a Specific position in a File

Suppose I have a file named abhishek.txt and that contains the following line I am , and what is your name. Now I want to write Abhishek after "I am" like I am Abhishek, .. How to write the content in this specific position directly.
Abhishek Choudhary
  • 8,255
  • 19
  • 69
  • 128
15
votes
4 answers

WPF: Textbox not firing onTextInput event

So basically, I have a bunch of TextBoxes that the user gets to fill out. I've got a button that I want to keep disabled until all the TextBoxes have had text entered in them. Here is a sample XAML TextBox that I'm using:
Kay Ell
  • 155
  • 1
  • 1
  • 4
14
votes
4 answers

React Native multi-line vertically centered text on IOS trouble

I'm using a multi line TextInput in my react-native application and been stuck on this for a while. I can not get the text to be vertically aligned on IOS devices. using textAlign='center' puts the text on IOS vertically centered... but it becomes…
Jacob MacInnis
  • 140
  • 1
  • 6
14
votes
6 answers

Overwriting the class on a `Html.EditorFor`

by the default with <%: Html.EditorFor(m => m.ConfirmationHeadline) %> the output is: As you can see, the input…
balexandre
  • 73,608
  • 45
  • 233
  • 342
14
votes
3 answers

React Native: How to keep multi-line textinput visible above keyboard

I have a TextInput with multiline set to true. I am scrolling to the input on focus with: scrollResponder.scrollResponderScrollNativeHandleToKeyboard( React.findNodeHandle(this.refs.myInput), 0, true ); However when the multiline TextInput…
S Kraft
  • 420
  • 4
  • 13
14
votes
1 answer

TouchableOpacity as Item in ListView only reacts after TextInput has lost focus

I'm working on a search component right now which consists of a TextInput and a ListView. It loads its results from an external server and fills the ListView accordingly. There's also a TouchableOpacity which closes the search…
webwelten
  • 1,567
  • 11
  • 18
14
votes
4 answers

Capturing user input from Flex TextInput control: which event to use?

Should I use the change or textInput event to capture user input on a TextInput control? Why?
Niko Nyman
  • 1,916
  • 2
  • 16
  • 26
14
votes
2 answers

How can I avoid iphone safari first letter in caps

I am designing a small webpage targeted for the iPhone/iPod touch. I have a form that requires the user to enter a code. When you tap on the corresponding field, the iphone will automatically set the first letter to caps. Is there any way to avoid…
DanC
  • 8,595
  • 9
  • 42
  • 64
13
votes
3 answers

Change border color of TextInput when focused in react-native-web (expo)

In the last versions of Expo there is a Web support. In the picture you see a normal TextInput created with React Native & rendered in the Web. How can I change the color of the TextInput Border that is activated on focus? You see an orange border…
Arbnor
  • 2,190
  • 18
  • 26
13
votes
4 answers

Filter search for

I have a list of users as well:
  • Peter
Jaumesv
  • 1,065
  • 3
  • 11
  • 19
12
votes
2 answers

How to wrap text within multiline react native textInput

I am trying to implement a multiline text input in react native, but when user types the text doesn't get wrapped but gets written horizontally on the same line, the code for my text input is as follows
Naveed Sheriffdeen
  • 940
  • 6
  • 18
  • 37
12
votes
9 answers

how to design react native OTP enter screen?

I am new in react native design .Let me know how to achieve the screen shown below is it necessary to use 4 TextInput or possible with one?
praj
  • 849
  • 1
  • 16
  • 39
12
votes
4 answers

numberOfLines TextInput property not working

I have created an application in react-native and I have an option to chat in messages option. when I click inside TextInput and type two lines, the upper line gets hidden. To fix this I saw in the docs numberOfLines property but it did not…
Ankush Rishi
  • 2,861
  • 8
  • 27
  • 59
12
votes
5 answers

How to prevent keypress two digits after a decimal number?

I have got a task to prevent keypress two digits after a decimal number. My jquery file is $(function(){ $('#name').bind('paste', function(){ var self = this; setTimeout(function() { if(!/^[a-zA-Z]+$/.test($(self).val())) …
Monica
  • 607
  • 4
  • 12
  • 31
1 2
3
90 91