Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ensure disabled attr actually disables the button #71

Conversation

peaceful-james
Copy link
Contributor

Resolves #70

@peaceful-james
Copy link
Contributor Author

I will start with an easy one :)

@peaceful-james
Copy link
Contributor Author

@type1fool I snuck it a small extra change. I stopped disabling the sign in button. This should never be disabled.

@type1fool type1fool self-requested a review June 28, 2024 02:52
@type1fool type1fool added the bug Something isn't working label Jun 28, 2024
Copy link
Collaborator

@type1fool type1fool left a comment

Choose a reason for hiding this comment

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

Thank you @peaceful-james for catching this and opening a PR. I added a couple commits to make some small adjustments, and merged some CI fixes from main.

@@ -39,7 +39,7 @@
<p>Sign into an existing account:</p>

<.live_component
disabled={@form.source.valid? == false}
disabled={false}
Copy link
Collaborator

Choose a reason for hiding this comment

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

Good catch.

lib/webauthn_components/base_components.ex Outdated Show resolved Hide resolved
@type1fool type1fool merged commit 21ecadf into liveshowy:main Jun 28, 2024
1 check passed
@peaceful-james peaceful-james deleted the update-registration-component-assigns-correctly branch June 28, 2024 09:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[BUG] - disabled assign not respected in RegistrationComponent
2 participants