parent
edb2249a43
commit
dea04afcd4
@ -1,44 +0,0 @@
|
||||
@using Connected.Models;
|
||||
|
||||
@inherits InputBase;
|
||||
|
||||
<div class="@InputFieldClassList">
|
||||
<input type="password"
|
||||
value="@Value"
|
||||
placeholder="@Placeholder"
|
||||
disabled="@Disabled"
|
||||
readonly="@Readonly"
|
||||
@oninput=@ChangeValueAsync
|
||||
@attributes="@InputAttributes" />
|
||||
|
||||
<span class="highlight"></span>
|
||||
<span class="bar"></span>
|
||||
@if (IsLabel)
|
||||
{
|
||||
<label class="label-animated">@Label</label>
|
||||
}
|
||||
@if (IsHelperText && !IsError)
|
||||
{
|
||||
<div class="input-helper-text">@HelperText</div>
|
||||
}
|
||||
@if (IsError)
|
||||
{
|
||||
<div class="input-error-text">@ErrorText</div>
|
||||
}
|
||||
<span class="input-glyph-wraper">
|
||||
<span class="input-glyph">
|
||||
@if (Clearable && Value.ToString().Length > 0)
|
||||
{
|
||||
<span class="input-glyph button" @onclick="Clear">
|
||||
<i class='bx bx-x-circle'></i>
|
||||
</span>
|
||||
}
|
||||
@if (IsError)
|
||||
{
|
||||
<span class="input-glyph error">
|
||||
<i class='bx bx-error-circle'></i>
|
||||
</span>
|
||||
}
|
||||
</span>
|
||||
</span>
|
||||
</div>
|
Loading…
Reference in new issue