When generating a random password, a user may want to generate multiple candidates before selecting one that suits him better.
Therefore, it is better to have 2 buttons on the bottom of the screen:
A 'generate' button to generate a new random secret each time it is clicked
the import button to import secret once all required inputs are validated
When generating a random password, a user may want to generate multiple candidates before selecting one that suits him better. Therefore, it is better to have 2 buttons on the bottom of the screen:
For illustration: