Skip to content

Conversation

@Subham-KRLX
Copy link
Contributor

Closes #4757

Updated the Password Input documentation to reflect that the visibility toggle is disabled in the read-only state and added a corresponding Storybook demo variant.

Changelog
New

Added "Password Input (Read only)" variant to the Storybook demo in
code.mdx
.
Changed

Updated
usage.mdx
to explicitly state that the password visibility toggle is disabled when the input is read-only.
Removed

None

Copy link
Member

@alina-jacob alina-jacob left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi there @Subham-KRLX, thanks for working on this!

A couple of things

  • The website change in the usage tab is incorrect. This issue resolves the fact that the 'eye/visibility' toggle button is now enabled even in read-only states. So this edit can be entirely skipped.
  • Issue #4757 highlights the need to make changes in the style tab so this PR doesn't fulfill that requirement yet.

@Subham-KRLX
Copy link
Contributor Author

Hi @alina-jacob thanks for the review I have reverted the changes to usage.mdx since the toggle is enabled in read-only state. I have also reviewed the Style tab and since the toggle follows the standard enabled interaction I haven't added specific 'disabled' documentation. Please let me know if any other specific visual specs need to be listed there.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Password input readOnly] Update website

3 participants