Skip to content

MemberSignIn.vue

Image of the component

This component renders the member registration tab of the /signinsheet page. It basically holds the selection list for members registration at the runsite and the button to download the sign-in sheet in PDF format.

📄 View source on GitHub

Used Components

Used by

Used Stores

Functions

addSignInEntry

Adds a registration for the selected member and displays a snackbar notification. This function retrieves the selected member from the active members list, creates a new member registration using the createSignInEntry method from signInMembersStore, and shows a snackbar notification with the result message and color.

onSelectionConfirmed

Handles the selection confirmation of a member in the autocomplete. This function is triggered when a member is selected from the autocomplete list. It adds the selected member to the registration by calling addSignInEntry. After the member is added, it clears the current selection and resets the autocomplete input to refresh the UI.

Parameters:

  • value: - The selected member object containing member details.

Reactivity

availableMembers (computed)

Manage the content selection list for member registration. Members who are registered already will be removed from the availableMembers list used for the selection box and re-added when removed from the

Released under the MIT License.