avo-hq/avo

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

Aberta

#2.168 aberto em 18 de dez. de 2023

 (1 comentário) (0 reação) (0 responsável)Ruby (308 forks)user submission
FeatureGood first issueHelp wanted

Métricas do repositório

Stars
 (1.778 estrelas)
Métricas de merge de PR
 (Mesclagem média 1d 6h) (67 fundiu PRs em 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.

Guia do colaborador