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
12
votes
2 answers

Get value of with JS when it contains non-numeric characters

This jsfiddle demonstrates the following issue. The simplest example is: console.log(document.getElementById('number').value); This logs 1 as expected. THIS however:
Simon Lang
  • 40,171
  • 9
  • 49
  • 58
11
votes
10 answers

Is there a way to disable the zoom feature on input fields in webview?

When a user clicks in an input field or textarea, the application zooms in. Is there a simple way to disable it? Currently have the meta tag: meta name="viewport" content="width=device-width; height=device-height; initial-scale=1.0;…
dlewis22
  • 111
  • 1
  • 1
  • 5
11
votes
1 answer

input dialog box blender

How to make a simple entry dialog box (like in the image) in blender and processing the text entered through python.I am unable to find any good tutorial on this.
Vaibhav
  • 703
  • 1
  • 7
  • 18
11
votes
3 answers

How to selector ID textbox array using jquery

I have the HTML code

I want to select id='info[text1]' using jquery but I can't, so can you help me?
Đạt Hoài
  • 123
  • 1
  • 1
  • 5
10
votes
3 answers

How to use select() to read input from keyboard in C

I am trying to use select() to read keyboard input and I got stuck in that I do not know how to read from keyboard and use a file descriptor to do so. I've been told to use STDIN and STDIN_FILENO to approach this problem but I am still confused. How…
drum
  • 5,416
  • 7
  • 57
  • 91
10
votes
3 answers

How to use useRef hook to select next TextInput after pressing next keyboard button with redux-form

I know we can do this easily with react class method.because we have this.ref. but I am not sure how to do this with useRef hook in functional component. using tricks written here This is how I am trying to do this. ... const inputEl1 =…
shubham choudhary
  • 2,670
  • 5
  • 13
  • 16
10
votes
3 answers

Default underline not visible in TextInput in React native

I am new to React native development. In my application I have login page, in this login page two textinput. In this textinput not getting underline. I have tried many ways but not getting underline. Here my requirement is need underline of…
rams
  • 1,558
  • 7
  • 25
  • 48
10
votes
3 answers

Change the focus automatically to the next TextInput in react native

I am developing an App with react native. I have three TextInput boxes as bellow: I need to change the focus of the TextInput box automatically, if the user inserts a number. Then, as soon as he/she inserts the last number a function should be…
Saeid
  • 1,996
  • 4
  • 27
  • 44
10
votes
9 answers

Change input text value in before submitting form

I'm trying to change the value of my input text field before submitting the form using jQuery like this:
Shell Suite
  • 680
  • 1
  • 6
  • 18
10
votes
2 answers

Keep UI Text Input after adding or removing Inputs

I'm building a small UI where a user will enter into a splitLayout row of text that builds a statement (not needed for this question) to solve a puzzle. However, if the user decides he/she needs an additional row or less rows to solve the puzzle…
Evan Friedland
  • 3,062
  • 1
  • 11
  • 25
10
votes
2 answers

How to control defaultValue of React Native's ?

I have a with a defaultValue set up and a button where it would trigger and pass the defaultValue of elsewhere. But how do I pass in the 's defaultValue to the onPress method of ? This is…
user3259472
10
votes
2 answers

How to limit the number of characters accepted by textInput in Shiny app

I would like my Shiny app (in R) to limit the number of characters a user can input in response to a textInput command. I can request the user to limit to 50 characters and can have the app send him a message if he does not, but it would be better…
Dan Flath
  • 101
  • 1
  • 3
9
votes
3 answers

React Native Textinput Flickers when using Redux

In my react native app, contains multiple TextInputs for a form which are rendered like this: {this.props.steps.map(step, index) => (
M. Alex
  • 673
  • 5
  • 26
9
votes
6 answers

How to automatically paste the one time code which is received in SMS in react-native text input

I am using Textinput from react-native. How can I paste the otp or code automatcally in the textinput box.
sejn
  • 2,040
  • 6
  • 28
  • 82
9
votes
2 answers

React Native Why does my keyboard dismiss instantly every time I tap on the textInput?

My keyboard always dismisses instantly when I tap on the textInput. This only happens on Android. It's strange that I've tried removing all irrelevant codes to textInput only, but the problem still exists. This only happens to one page of my app. …
Pang
  • 101
  • 1
  • 3