Create a new log with a long description. Click the “Show more” button. See that a toast appears.
Investigate why the “Show more” button is triggering a toast. We’ve had similar issues with this before and it’s most likely because this button exists in a form (dog edit) and the HTML attribute type is not specified. If a button is in a form and the type is not specified, it defaults to submit which causes the toast to be triggered.
Description
Create a new log with a long description. Click the “Show more” button. See that a toast appears.
Investigate why the “Show more” button is triggering a toast. We’ve had similar issues with this before and it’s most likely because this button exists in a form (dog edit) and the HTML attribute
type
is not specified. If a button is in a form and the type is not specified, it defaults tosubmit
which causes the toast to be triggered.Start by making sure the button
type="button"
.