I have use case where I'd like end users to be able to toggle an input to password mode for sensitive data. Is this doable with the standard text input?
Good morning
@468611525847023617- I feel like I've seen this done elsewhere, but I'm blanking. I'll search a bit more, but in general I believe this is done with a custom component
https://payloadcms.com/docs/fields/overview#custom-componentsThough, it may be some kind of extended custom Field based on the Text field
If I find the example I'll post it here - also a Payload dev may have some more insight when they see this post
No doubt this could be done with a custom component. I was mostly wondering if there was a way to use the regular text config and just change the type of the input. Although, now that i'm thinking more about the use case a custom field my better suit my needs.
We still need something like this.
A field type "password" would be handy or maybe we can get this by a plugin... maybe?
Let me know if there is any solution to this problem out there already, ok?
Star
Discord
online
Get dedicated engineering support directly from the Payload team.