Answers for "text filed size"

11

html input size

Syntax
<input size="number">

Example
An HTML form with two input fields with a width of 50 and 4 characters:

<form action="/action_page.php">
  <label for="fname">First name:</label>
  <input type="text" id="fname" name="fname" size="50"><br><br>
  <label for="pin">PIN:</label>
  <input type="text" id="pin" name="pin" maxlength="4" size="4"><br><br>
  <input type="submit" value="Submit">
</form>
Posted by: Guest on April-23-2020
0

how to the size of text filed

Container(
              height: 50,
              width: 250,
              decoration: BoxDecoration(
                  borderRadius: BorderRadius.circular(20),
                  boxShadow: [
                BoxShadow(color: iconColors.withOpacity(0.15), offset: Offset(0, 5),blurRadius: 3,),
              ]),
              child: TextField(
                decoration: InputDecoration(
                    filled: true,
                    fillColor: Colors.white,
                    enabledBorder: OutlineInputBorder(
                      borderSide: BorderSide(color: Colors.white),
                      borderRadius: BorderRadius.circular(18),
                    )),
                keyboardType: TextInputType.emailAddress,
              ),
            )
Posted by: Guest on September-14-2021

Browse Popular Code Answers by Language