Skip to content

Comments

WIP Add with_default for Password#259

Open
cmleinz wants to merge 1 commit intomikaelmello:mainfrom
cmleinz:main
Open

WIP Add with_default for Password#259
cmleinz wants to merge 1 commit intomikaelmello:mainfrom
cmleinz:main

Conversation

@cmleinz
Copy link

@cmleinz cmleinz commented Jul 1, 2024

It would be nice to be able to create a password prompt with a default password (perhaps sourced from elsewhere). This PR adds a with_default function to add this ability.

Issues

Currently if selecting PasswordDisplayMode::Masked, the default password will be shown in full in the render prompt. I'll look into this in the next few days but I'm fairly unfamiliar with the codebase so if any maintainers know the short path to fixing this I'd appreciate some pointers 🙂

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.

2 participants