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

fix: Selected Values Not Saved or Reset to Default in SelectList Component #261

Conversation

shubhamv-ss
Copy link
Contributor

@shubhamv-ss shubhamv-ss commented Aug 7, 2024

Description

Why

This change is necessary to address a critical issue where the SelectList component does not save the selected values upon form submission, or resets them to the default values. This issue affects the data integrity and user experience, as users expect their selections to be retained and accurately reflected in the submitted data.

  • Data Integrity: Ensuring that the selected values are correctly saved prevents data loss and maintains the integrity of the information submitted by the users.
  • User Experience: Users need to trust that their selections are preserved. Losing or resetting the selected values can lead to frustration and errors in data entry.
  • Workflow Continuity: Inaccurate data due to unsaved selections can disrupt workflows, leading to inefficiencies and potential issues in subsequent processes.

Dependencies

There are no additional dependencies required for this change. The fix involves modifying the existing SelectList component to ensure proper handling of the selected values.

Implementing this change will enhance the reliability and functionality of the SelectList component, ensuring that it meets user expectations and maintains accurate data handling across the application.

Issue

Checklist

Please delete options that are not relevant.

  • I have performed a self-review of my own code
  • I have successfully tested my changes locally

@shubhamv-ss shubhamv-ss changed the title Bug/selected values not saved or reset to default in select list component fix: Selected Values Not Saved or Reset to Default in SelectList Component Aug 7, 2024
@shubhamv-ss shubhamv-ss marked this pull request as ready for review August 7, 2024 10:56
@shubhamv-ss shubhamv-ss requested a review from oyo August 7, 2024 10:56
@shubhamv-ss shubhamv-ss added the bug Something isn't working label Aug 7, 2024
…lectList-Component' of github.com:shubhamv-ss/portal-shared-components into bug/Selected-Values-Not-Saved-or-Reset-to-Default-in-SelectList-Component
Copy link

sonarqubecloud bot commented Aug 8, 2024

@shubhamv-ss shubhamv-ss closed this Aug 8, 2024
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
Status: USER READY
Development

Successfully merging this pull request may close these issues.

1 participant