This is a migrated thread and some comments may be shown as answers.

password box

1 Answer 393 Views
TextBox
This is a migrated thread and some comments may be shown as answers.
khashayar
Top achievements
Rank 1
Veteran
khashayar asked on 04 Feb 2020, 01:31 PM
Hi,
is there any way to make TextBox into a Password box without having any difference with TextBox 

i found something in here 
https://www.telerik.com/forums/password-char
but its not what i want

i also used this code 


<span class="k-textbox-container telerik-blazor">
    <input id="641f9bd0-2fbe-483d-9279-2da83c4f397a" tabindex="0" type="password" aria-disabled="false" class="k-textbox ">
    <label for="641f9bd0-2fbe-483d-9279-2da83c4f397a" class="k-label">Passowrd</label>
</span>

but it wasnt useful either since it's not exactly like TelerikTextBox

so is there any suggestion on how to make it happen and still be same as TelerikTextBox ?

1 Answer, 1 is accepted

Sort by
0
Accepted
Marin Bratanov
Telerik team
answered on 04 Feb 2020, 03:18 PM

Hi Khashayar,

At the moment, using a class to style a "regular" input is the way to do this.

You can Follow the implementation of additional parameters for the input (such as Type which would let it become a password box) here: https://feedback.telerik.com/blazor/1416922-add-to-teleriktextbox-more-parameters-such-as-type-autocomplete-required-readonly.

 

Regards,
Marin Bratanov
Progress Telerik

 UI for Blazor
Tags
TextBox
Asked by
khashayar
Top achievements
Rank 1
Veteran
Answers by
Marin Bratanov
Telerik team
Share this question
or