# Password textinput

**URL:** <https://community.grafana.com/t/password-textinput/30924>\
**Category:** Grafana Plugin Development\
**Tags:** api\
**Created:** [May 26, 2020, 11:57am UTC](https://community.grafana.com/t/password-textinput/30924 "2020-05-26T11:57:29Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![fstefanni](https://sea2.discourse-cdn.com/grafana/user_avatar/community.grafana.com/fstefanni/32/8398_2.png) [@fstefanni](https://community.grafana.com/u/fstefanni)\
**Post date:** [May 26, 2020, 11:57am UTC](https://community.grafana.com/t/password-textinput/30924/1 "2020-05-26T11:57:30Z")

</div>

Hi to all,

I am writing a custom panel plugin to embed an iframe from an external source.  
Grafana version is 7.0.0.

When configuring the panel, we must enter also a “username” and a “password”,  
since the external resource is protected.

This is not an issue, since the method PanelOptionsEditorBuilder.addTextInput() works great.  
The unique detail is that it could be nice to have a password input type for the “password field”,  
so that instead of displaying the plain password, we could display the usual dots.  
Is there any way to achieve this? I have looked to all addTextInput options,  
but I was not able to find this feature.

Thanks a lot,  
regards.
