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 #3078 POS Currency Entry not working, #3366

Merged
merged 6 commits into from
Apr 4, 2024

Conversation

alexlukas
Copy link
Contributor

GitHub Issue (if applicable): #3078

Explanation of Bugfix/Feature/Modification:
Replaced the implementation based on Ember components with a low level event handler registered directly on the inputs. Does not work so far - the correct value is determined, but setting it to the input element in the event handler is not enough.

@alexlukas
Copy link
Contributor Author

After a good hint in the issue and quite a bit of trial and error I managed to replace the old implementation with a low level DOM-manipulation that works. I also refactored the code a bit, and changed it from Javascript to Typescript. I committed that separately in case that's a problem, though I also caught one or two possible bugs when adding the type annotations.

@alexlukas alexlukas changed the title WIP: Fix POS issue #3078 Fix #3078 POS Currency Entry not working, Mar 10, 2024
@joshmadewell
Copy link
Member

gonna go ahead and get this in, i'm not really a user of this feature but it seems like you are and this is working for you ( :

@joshmadewell joshmadewell merged commit 0179a41 into toolkit-for-ynab:main Apr 4, 2024
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants