EddyVerbruggen / EddyVerbruggen/nativescript-numeric-keyboard
event.value on @textChange seems to be late
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 34
- Forks
- 7
- PR merge metrics
- No merged PRs in 30d
Description
Hello,
I'm using 5.0.0 with NativeScript 7 (Vue) and Javascript Core.
When I update a NumericKeyboard field, the event triggers fine but the value takes the oldValue on a real Device. It works fine on the simulator.
On this example, the value in the confirm button (below) is the same as the event.value for @textChange

Edit : It seems to be triggered more easily when editing a value from the middle.
Any idea ?
<NumericKeyboard
:text="amountFormatted"
@textChange="updateAmount($event)"
:locale=getLocaleKeyBoard />
"dependencies": {
"@nativescript/core": "^7.0.13",
"@nativescript/firebase": "^11.1.2",
"@nativescript/iqkeyboardmanager": "^2.0.0",
"@nativescript/theme": "^2.5.0",
"@nativescript/unit-test-runner": "^1.0.2",
"@nstudio/nativescript-filterable-listpicker": "^3.0.0",
"@nstudio/nativescript-pulltorefresh": "^3.0.1",
"accounting": "^0.4.1",
"axios": "^0.20.0",
"i18n-postal-address": "^0.2.0",
"nativescript-appversion": "^1.4.4",
"nativescript-barcodescanner": "file:app/libs/nativescript-barcodescanner",
"nativescript-fingerprint-auth": "^7.0.2",
"nativescript-localize": "^4.2.2",
"nativescript-numeric-keyboard": "^5.0.0",
"nativescript-permissions": "^1.3.11",
"nativescript-print-star": "file:app/libs/nativescript-print-star",
"nativescript-ui-listview": "^9.0.4",
"nativescript-vue": "^2.8.3",
"vuex": "^3.6.0"
},
"devDependencies": {
"@babel/core": "^7.12.8",
"@babel/preset-env": "^7.12.7",
"@nativescript/ios": "6.5.3",
"@nativescript/types": "^7.0.4",
"@nativescript/webpack": "^3.0.8",
"@types/node": "^12.19.6",
"@types/qunit": "^2.9.6",
"babel-loader": "^8.1.0",
"karma": "5.2.3",
"karma-nativescript-launcher": "0.4.0",
"karma-qunit": "4.1.1",
"karma-webpack": "3.0.5",
"nativescript-vue-template-compiler": "^2.8.3",
"nativescript-worker-loader": "^0.12.1",
"node-sass": "^4.14.1",
"qunit": "2.12.0",
"typescript": "^3.4.3",
"vue": "^2.6.12",
"vue-loader": "^15.9.5"
},
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the NumericKeyboard @textChange behavior with NativeScript 7 and JavaScript, comparing a simulator with a real device and edits made in the middle of the value. Done means event.value and the bound value reflect the newly edited text rather than the old value on a real device.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, typescript
- Domain
- mobile-dev
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100