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

Rename LiveSubmitButton to LiveButton #27

Merged
merged 4 commits into from
Dec 19, 2024
Merged

Conversation

carson-katri
Copy link
Contributor

LiveSubmitButton will still work, but logs this warning:

`<LiveSubmitButton>` is deprecated. Use `<LiveButton type="submit">` instead.

The following button types are supported:

  1. submit - will send the form submission event when clicked
  2. reset - will clear the form values when clicked
  3. button (or anything else) - sends any provided phx-click event. Functionally equivalent to <Button>

@carson-katri carson-katri linked an issue Nov 5, 2024 that may be closed by this pull request
@carson-katri carson-katri merged commit 24d423a into core-networking Dec 19, 2024
@carson-katri carson-katri deleted the live-button branch December 19, 2024 14:42
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.

Rename LiveSubmitButton to LiveButton
1 participant