avo-hq/avo

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

オープン

#2,168 opened on 2023/12/18

 (1 件のコメント) (0 件のリアクション) (0 人の担当者)Ruby (308 件のフォーク)user submission
FeatureGood first issueHelp wanted

Repository metrics

Stars
 (1,778 個のスター)
PR merge metrics
 (平均マージ 1d 6h) (30d で 67 merged PRs)

説明

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.

コントリビューターガイド