This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//css to have ellipsis on label element | |
.truncate-ellipsis { | |
overflow: hidden; | |
white-space: nowrap !important; | |
text-overflow: ellipsis !important; | |
display: inline-block !important; | |
max-width: 12ch !important; | |
font-weight: 500; | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<form autocomplete="off" id="input-area"> | |
<div class="input-section"> | |
<label for="name">Name</label> | |
<input | |
type="text" | |
id="userNameInput" | |
placeholder="Enter your name" | |
required | |
autocomplete="unInput" | |
/> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<form autocomplete="off" id="input-area"> | |
<div class="input-section"> | |
<label for="name">Name</label> | |
<input | |
type="text" | |
id="userNameInput" | |
placeholder="Enter your name" | |
required | |
autocomplete="unInput" | |
/> |