avo-hq/avo

Add a `reveal` field which can hide some text from the user until they hit the reveal button

Open

#2,168 opened on Dec 18, 2023

View on GitHub
 (0 comments) (0 reactions) (0 assignees)Ruby (308 forks)user submission
FeatureGood first issueHelp wanted

Repository metrics

Stars
 (1,778 stars)
PR merge metrics
 (Avg merge 1d 6h) (67 merged PRs in 30d)

Description

This field would be rendered only on display fields (index and show).

My approach

It would show the value as a password and then have a button that would change the input type to text so the value becomes visible.

We need to ensure that the value is not clearly visible if the use inspects the DOM.

Contributor guide