placeholder Questions
5
Solved
I have the following regex:
\[([^ -\]]+)( - ([^ -\]]+))+\]
This match the following successfully:
[abc - def - ghi - jkl]
BUT the match is:
Array
(
[0] => [abc - def - ghi - jkl]
[1] => a...
Bellerophon asked 12/4, 2011 at 23:35
5
Solved
Example http://dabblet.com/gist/5859946
If you have a long placeholder, the input by default does not display wide enough to show all the placeholder text.
e.g.
<input placeholder="Please ent...
Heidiheidie asked 25/6, 2013 at 16:34
4
Solved
I can successfully change the border colour of the placeholder, but when I try change the background colour, nothing happens.
This jsfiddle code best explains it: http://jsfiddle.net/EUVrK/1/
Fairchild asked 17/7, 2012 at 13:0
3
Solved
I'm trying to write a markdown document that contains something like a centrally specified placeholder variable which allows to propagate a certain text snippet to different locations of the docume...
Fleabane asked 15/2, 2021 at 7:27
47
Solved
How can I add a placeholder in a UITextView, similar to the one you can set for UITextField, in Swift?
Stiffler asked 26/12, 2014 at 2:12
17
Solved
I have ghost text in textfields that disappear when you focus on them using HTML5's placeholder attribute:
<input type="text" name="email" placeholder="Enter email"/>
I want to use that sa...
Another asked 25/8, 2011 at 11:0
40
Solved
I am doing a phonegap app. When I am trying type="date" input field as shown below, it shows date picker in iPhone as I expected but it doesn't show the placeholder I have given. I found the same i...
Earsplitting asked 2/12, 2013 at 5:2
4
I have need for an open format to write stories in a generic way (with placeholder/variables). To make the stories case specific I would like to set a list of key/value pairs and apply them when pu...
Dissemble asked 30/6, 2014 at 21:43
8
Solved
Placeholder does not work for input type date and datetime-local directly.
<input type="date" placeholder="Date" />
<input type="datetime-local" placeholder=&...
Pattison asked 21/6, 2015 at 5:57
4
I have an input[type="date"] with min/max range. What I am trying to achieve is to hide the placeholder text displayed in any language as of dd/mm/yyyy. What have tried so far is adding t...
Cydnus asked 30/8, 2020 at 6:56
3
On my images I'm setting the onerror attribute so that a placeholder is used in case the image is not available for some reason:
<img
class="article-img"
src="path-to-image.jpg"
alt="some de...
Fredette asked 17/9, 2019 at 18:19
42
Solved
I'm using placeholders for text inputs which is working out just fine. But I'd like to use a placeholder for my selectboxes as well. Of course I can just use this code:
<select>
<option ...
Cornett asked 27/4, 2011 at 13:39
26
Solved
I am looking for a way to add placeholder text to a textbox like you can with a textbox in html5.
I.e. if the textbox has no text, then it adds the text Enter some text here, when the user clicks...
Elyseelysee asked 8/8, 2012 at 21:22
3
Solved
I have floating placeholder in the input field.
Placeholder will appear in center when we input value has not been provided. as shown in the below screenshot (Email and password is placeholder).
...
Whidah asked 30/3, 2019 at 3:51
14
I'm using the following piece of code to select item but placeholder already is not visible. I am using this example select2-bootstrap
<div class="form-group" style="width:70px; height:44px;"&...
Kotz asked 25/1, 2015 at 19:44
4
Solved
I am making a Login form, in which there are two fields-
simplified:
<input type="text">
<input type="password" placeholder="1234567" >
In my tests (FF, Chrome) the placeholer show...
Onetime asked 17/7, 2012 at 13:48
2
Solved
so I have an input and I was trying to change the color of the placeholder, in some websites I believe I see people are changing the placeholder color
I tried changing with elem.value but it doesn'...
Kettledrum asked 4/3, 2023 at 18:59
2
I want to introduce a multilingual system.
I have a function component that returns a translation of a specific element based on selected language (from Context API).
Everything works well until I...
Limen asked 6/6, 2019 at 21:37
4
Solved
I'm trying to find a way to detect if an input is currently showing a placeholder.
I know we can test whether or not placeholders are supported in a given browser, which I would use, but that's no...
Lump asked 13/2, 2016 at 21:41
10
Solved
I have seen similar questions on SO, including this one, which is old. I read and followed links, but it is unclear whether there is a proper solution to this issue today.
My bottom issue is that ...
Epiphora asked 19/10, 2011 at 19:30
2
Solved
In the following C++ code, a template placeholder in argument of function fun1, and in the return type of function ret1, does not compile:
template <typename T = int>
class type {
T data;
};...
Dinodinoflagellate asked 24/11, 2022 at 6:31
8
Solved
When using ordinary CSS if you want to style your place holder you use these css selectors :
::-webkit-input-placeholder {
color: red;
}
But I can't figure out how to apply these type of styles...
Syzran asked 12/8, 2016 at 16:44
6
Solved
I want to set the color to the placeholder, change the font style to bold, and increase the size.
How can I achieve this? Should I give style to the placeholder, or is there any other way can I ac...
Tiresome asked 20/7, 2016 at 17:47
3
Solved
I have a form with some fields getting some data using knockout.js (ver. 2.1.0).
For example, to update the "value" field of an input I put:
<input type="text" name="contrasena" id="login-user"...
Embassy asked 28/9, 2012 at 8:52
12
Solved
how can active text-align: right; only for placeholder?
<input type="text" name="airline_search" style="direction: ltr; border: none;" placeholder="ارلاین">
i want use of direction: ltr;...
Checklist asked 18/7, 2011 at 7:31
1 Next >
© 2022 - 2024 — McMap. All rights reserved.