question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

TextInput label position

See original GitHub issue

My TextInput styles:

const styles = StyleSheet.create({
  inputPaper: {
    backgroundColor: "transparent",
    height: 50,
  },
});

My Input:

 <RNPTextInput
      style={styles.inputPaper}
      padding="none"
      label={children} />

Result with inspector:

My question is : How can i move the label on top of the input container please ?

What i’d like :

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:6 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
jbindacommented, Jun 24, 2019

Hi @pixelize

Thanks for posting your message !

Currently the label position has predefined top position. We need internal discussion to decide if we want the feature to modify it.

0reactions
sjonchhecommented, Aug 12, 2020

Has anybody fonud any solution fotr this??

Read more comments on GitHub >

github_iconTop Results From Across the Web

Shiny: Label position, textInput - Stack Overflow
The problem that I face is that I want to have the labels only for the first panel, and on the left of...
Read more >
Where to place a label for text field? - Medium
This pulls up the label element above the input element, and both elements will be placed at the top-left corner of the form...
Read more >
input text label position | Support Center
Hi, I would like to know how to change the label position of an input text, I want it to be in the...
Read more >
jQuery Form Input Elements and Labels Positioning - jQWidgets
The labels can be positioned on the 'left', 'right', 'top' or 'bottom' of the input element. To change the label position, set the...
Read more >
How to place the label alongside the input text field in for
How can I make a form with the traditional layout where the text label is alongside the rectangular input text field on the...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found