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

Add functionality to clear the selected guest #17

Open
hfaerber opened this issue Nov 5, 2019 · 1 comment
Open

Add functionality to clear the selected guest #17

hfaerber opened this issue Nov 5, 2019 · 1 comment
Labels
UX/functionality improvement Necessary tasks for improved UX/functionality

Comments

@hfaerber
Copy link
Owner

hfaerber commented Nov 5, 2019

Need to determine when (on what event) to clear the selected guest on the manager page.

Clear guest on the display and clear guest by setting selectedUser variable back to null so no rooms can be accidentally booked for the previous guest.

@hfaerber
Copy link
Owner Author

hfaerber commented Nov 5, 2019

I could disable the search input field until a 'Search New Guest' button is clicked which would clear the previous guest from the DOM and reset the selectedUser variable to null and re-enable the search input field.

@hfaerber hfaerber added the UX/functionality improvement Necessary tasks for improved UX/functionality label Nov 5, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
UX/functionality improvement Necessary tasks for improved UX/functionality
Projects
None yet
Development

No branches or pull requests

1 participant