question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Missing PasswordInput component

See original GitHub issue

Expected Behavior

I’d like to use PasswordInput 🔑

The docs say to import it on its own:

import PasswordInput from 'grommet/components/PasswordInput';

Actual Behavior

Module not found: Can't resolve 'grommet/components/PasswordInput'

PasswordInput doesn’t exist in src/js/components and isn’t exported in src/js/components/index.js.

Steps to Reproduce

  1. Import PasswordInput
import PasswordInput from 'grommet/components/PasswordInput';

Your Environment

  • Grommet version: ^2.5.5

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:5 (2 by maintainers)

github_iconTop GitHub Comments

3reactions
oorestisimecommented, Feb 28, 2019

Sorry missed the docs page silly me! Password input is basically <TextInput type="password" /> in v2. If you want the hide reveal mechanism i can open a codesandbox to show you an example on how to do it.

2reactions
oorestisimecommented, Feb 28, 2019
Read more comments on GitHub >

github_iconTop Results From Across the Web

password field is missing in forms django? - python
class UserForm(forms.ModelForm): password = forms.CharField(widget=forms.PasswordInput()) password_confirm = forms.CharField(widget=forms.
Read more >
Input Type = "password" is missing in input modes
If you type "Input" in the components panel you'll see a number of inputs. There is a "Password Input" component. That's what you...
Read more >
<input type="password"> - HTML: HyperText Markup Language
The element is presented as a one-line plain text editor control in which ... value is specified, the password input has no minimum...
Read more >
Widget attribute on forms.PasswordInput not updating
So I have this code for a custom registration form I want to make (I have also tried the code with the forms.PasswordInput...
Read more >
Top 5 web components for password input
You can also use the element <gold-password-input-validator> as a validator for <gold-password-input> ... The missing CSS style for grade 0?
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found