oooholdings / nova-password-generator

Random Password Generation Field for Laravel Nova
MIT License
10 stars 4 forks source link

Copy generated password to password confirmation field? #23

Open scramatte opened 1 year ago

scramatte commented 1 year ago

Hi,

Does it possible to copy generated password to password confirmation field? May I can use my component for this ... https://github.com/operativeit/nova-depend-fill

I'm going to try in parallel ...

Regards

btrsco commented 1 year ago

Like the update in the other issue you created (#22). I will go through and test this out and try to determine if it's an issue on our end over the weekend or the other package you're using and potentially add support depending on the time investment. I'll let you know more later on, thanks!

scramatte commented 1 year ago

Another option is to have password confirmation field inside the same component.

btrsco commented 1 year ago

Good suggestion, I’ll see what I can come up with. Hopefully it’s just an easy fix vs an entirely new field.

scramatte commented 1 year ago

Moreover, when you toggle visibility, generate password, it will be easier to apply on both field

btrsco commented 1 year ago

@scramatte, I can check compatibility for nova-depend-fill with the password generator but I would appreciate if you could provide an example of your implementation to ensure I'm testing with your code as closely as possible.

Thanks