-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ET-848: Add local storage persistence for select and ICD options (#183)
* feat(select, icd-classification): Add local storage persistence for select and ICD options - Enhance Select component to handle search value when options are selected - Implement local storage caching for ICD classification options and search value - Improve user experience by preserving search context across page reloads * feat(icd-classification): Add question-specific local storage for ICD options - Modify useICDClassificationList hook to support question-specific local storage - Update Question component to pass question ID to the hook - Ensure ICD classification options and search values are stored uniquely per question * fix(select): Prevent unnecessary dropdown opening after exact label search - Add condition to close dropdown when search value matches selected option's label - Improve search behavior for select component when allowSearchAfterSelect is true
- Loading branch information
Showing
3 changed files
with
36 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters