Languages

Menu
Sites
Language
Text is not displayed into the input tag

Hello everyone,

I am facing a strange issue here: I have this code:

 

/////////////  index.html  //////////////////

 <ul data-role="listview">
                <li><output><h4>Height</h4></output></li>
                <li><input type="number" id="height" class="glowing-border" style="border: solid 1px; min-width: 280px;" min="90" max="210" placeholder="in cm"/></li>
                <li><output><h4>Weight</h4></output></li>
                <li><input type="text" id="weight" class="glowing-border" style="border: solid 1px; min-width: 280px;" min="40" max="210" placeholder="in Kg" /></li>
                <li><output><h4>Age</h4></output></li>
                <li><input type="number" id="age" style="border: solid 1px; min-width: 280px;" class="glowing-border" placeholder="Years"/></li>
                <li><output><h4>Sexe</h4></output></li>
         </ul>

/////////////////////////////////

 

//////////// style.css //////////

.glowing-border {
    border: 2px solid #dadada;
    border-radius: 2px;
}

.glowing-border:focus {
    outline: none;
    border-color: #9ecaed;
}

///////////////////////////////

The problem is when I have the focus on any input tag, and I start to write, I got nothing, nothing is displayed within the textfield (no matter it was a number or a text field !!)

What's wrong?

Thank you in advance.

Edited by: Brock Boland on 17 Mar, 2014 Reason: Paragraph tags added automatically from tizen_format_fix module.

Responses

2 Replies
Raghu Kona
Hi, Not sure about the reason for the issue but I was able to fix it by adding color attribute to the tag. <input type="text" style="color: black;" id="msg-sub" value="Test Subject" /> Regards, Raghu Kona
Maksym
tizen-web-ui-fw-theme.css do the following: 1) .ui-li > input set color to #E3E1D9; 2) input.ui-input-text, textarea.ui-input-text set background to #E3E1D9; but why?