[WIP] Support for search through currency alias #12
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uses the currency list to get all possible currencies and selects the first one that starts with what has already been typed, for both fromcurrency and tocurrency. It currently looks like this:
![image](https://private-user-images.githubusercontent.com/76819071/346234794-7d6548d8-11b2-4e16-a2ad-692bbd5b316c.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjU5NjM3MDQsIm5iZiI6MTcyNTk2MzQwNCwicGF0aCI6Ii83NjgxOTA3MS8zNDYyMzQ3OTQtN2Q2NTQ4ZDgtMTFiMi00ZTE2LWEyYWQtNjkyYmJkNWIzMTZjLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA5MTAlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwOTEwVDEwMTY0NFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTI4YWE4ZTBmNWUxMTBjYTY3Njc4ZjUwNzM5MGQzZTg3ZjM1ZDVjMDA3NTcxYjY5N2QxMjliMTU1ZGRhYzcxOWQmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.5JYLBu2pubAXtIyVj5Uz8ZL2YoAOEcMDnLvz_wlIKFE)
A nice addition would be to show the
![image](https://private-user-images.githubusercontent.com/76819071/346233390-9ff50a2e-7f86-4e2c-bbb0-98a5b05709e1.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjU5NjM3MDQsIm5iZiI6MTcyNTk2MzQwNCwicGF0aCI6Ii83NjgxOTA3MS8zNDYyMzMzOTAtOWZmNTBhMmUtN2Y4Ni00ZTJjLWJiYjAtOThhNWIwNTcwOWUxLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA5MTAlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwOTEwVDEwMTY0NFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTYzM2VjOTMxMGQ5ZTBhOWFlMDdjYWQ5OGFmZDUxYTU5YWRjMzMwZWUzODIzNzU4Y2M5ZjQ1NmVmMjgzZDY5ZjQmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.1rHgeC3cxfz5s_vQIicVExM366vk5DnIjSN79m9ZcOs)
autocompleted
currency, like this:However, I do not know how to do that.
I hope this helps, please let me know what can be improved <3