[Feature Request] Allow customization of the placeholder
field for a password input in dynamic parameters
#2971
Labels
Enhancement
A feature request or improvement
Describe the solution you'd like
The https://github.com/crowbartools/Firebot/blob/master/src/gui/app/directives/controls/dynamic-parameter.js#L37 password field / option should support letting the script developer set a custom
placeholder
value similar to how it's done for the number and searchable select inputs.Additional context
This would allow using a password field for e.g. API keys while both preventing a potential leak when screensharing to users (either on stream or for technical help) while also setting the placeholder to for example
Enter API key
instead ofEnter password
, hopefully preventing confusion for the end user as well ("Do I have to put in my login password or my API key into this field?")Extra info:
Perhaps this could also be considered for the
string
input for similar reasons? (More clarity to the user on what to enter into the field)https://github.com/crowbartools/Firebot/blob/master/src/gui/app/directives/controls/dynamic-parameter.js#L32-L33
The text was updated successfully, but these errors were encountered: