You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Integer not accepted as keyboardType in TextField #8248
@Noppey the integer option is added in the master branch (of @nativescript/core a.k.a. tns-core-modules) and the Playground is using the latest official version of the modules. So this is the reason why the Playground is failing. At this very moment, you could use the integer option by installing the next of the modules in a locally created project.
tns create myapp --tsc
npm i tns-core-modules@next --save-dev
This feature will be published officially with version 6.4.0 of the modules.
@Noppey the project is using the scoped packages. So in your case you need to update both the scoped package (@nativescript/core) and the compat package (tns-core-modules)
npm i @nativescriprt/core@next --save
npm i tns-core-modules@next --save
rm -rf platforms
tns run
Activity
NickIliev commentedon Jan 15, 2020
@Noppey the
integeroption is added in the master branch (of@nativescript/corea.k.a.tns-core-modules) and the Playground is using the latest official version of the modules. So this is the reason why the Playground is failing. At this very moment, you could use theintegeroption by installing the next of the modules in a locally created project.This feature will be published officially with version 6.4.0 of the modules.
Noppey commentedon Jan 15, 2020
Ran this line in my own project:
npm i tns-core-modules@next --save-dev
In package.json I now have devDependencies:
"tns-core-modules": "^6.3.0-next-2020-01-14-155346-03"
But I still get the same exception, using my Android device (Samsung S8)
NickIliev commentedon Jan 15, 2020
@Noppey the project is using the scoped packages. So in your case you need to update both the scoped package (@nativescript/core) and the compat package (tns-core-modules)
Noppey commentedon Jan 15, 2020
Ok that kind of works, but now it shows the input text as hidden (dots), as what I would expect in case of type="password".
Noppey commentedon Jan 15, 2020
So on iOS it works fine, but on Android it's presented as a password field (dots)
NickIliev commentedon Jan 15, 2020
@Noppey thanks for reporting this one! I will post a PR fixing this bug.
Noppey commentedon Jan 16, 2020
I've updated to "tns-core-modules": "^6.3.0-next-2020-01-16-110603-01", but the problem is still there.
I thought the @next would be the current master version, and since this is merged I expected it to work.
Is there another step that I have to wait for before I can test this functionality?
Noppey commentedon Jan 27, 2020
What steps are required before I can start using this functionality including the password-bugfix?