Masked Fields

Episode #403 by Teacher's Avatar David Kimura

Summary

Learn to create a reusable Stimulus controller to be able to toggle fields so that we can hide sensitive information from prying eyes, screenshots or when sharing our screen.
rails stimulusjs security javascript 8:35

Chapters

  • Introduction (0:00)
  • Generate the scaffold (0:57)
  • Setting up Font Awesome through a CDN (1:21)
  • Generating the Stimulus controller (1:37)
  • Setting up the views (2:31)
  • Add masking functionality in the Stimulus controller (5:30)
  • Demo (7:33)
  • Final thoughts (8:09)
Student & Teacher
$ 9 /mo

Valid School Email Required

Same Access as Pro

Subscribe Now
Pro Monthly
$ 19 /mo

Access to Pro Episodes

Invite to Slack Channel

Priority Suggestions

Ad Free

Subscribe Now
Pro Annual
$ 190 /yr

Access to Pro Episodes

Invite to Slack Channel

Priority Suggestions

Ad Free

Subscribe Now
Teams
$ 57 /mo

3 Users Minimum

$19.00 / user / month

Same Access as Pro

Subscribe to Teams