ProgressNS / nativescript-ui-feedback

This repository is used for customer feedback regarding Telerik UI for NativeScript. The issues system here is used by customers who want to submit their feature requests or vote for existing ones.
Other
115 stars 21 forks source link

RadDataForm AutoCompleteInline Works differently by platform iOS/Android #738

Closed marcelomiranda90 closed 6 years ago

marcelomiranda90 commented 6 years ago

Did you verify this is a real problem by searching the NativeScript Forum?

Yes

Tell us about the problem

AutoCompleteInline works differently on each platform.

In iOS, plain mode returns no value to the model and in tokens mode always returns a string of the last value entered.

In android the plain mode returns a string as expected and in token mode no value is returned.

This causes you to have to use code for each platform, not giving you the confidence that it will work well in the next updates.

Which platform(s) does your issue occur on?

Both iOS 11 and Android 7.0

Please provide the following version numbers that your issue occurs with:

{ "tns-android": { "version": "4.1.3" }, "tns-ios": { "version": "4.1.1" } }, "dependencies": { "@angular/common": "~6.0.6", "@angular/compiler": "~6.0.6", "@angular/core": "~6.0.6", "@angular/forms": "~6.0.6", "@angular/http": "~6.0.6", "@angular/platform-browser": "~6.0.6", "@angular/platform-browser-dynamic": "~6.0.6", "@angular/router": "~6.0.6", "nativescript-angular": "^6.0.6", "nativescript-cardview": "^3.0.1", "nativescript-iqkeyboardmanager": "^1.3.0", "nativescript-plugin-firebase": "^5.3.1", "nativescript-ratings": "^1.0.1", "nativescript-theme-core": "~1.0.4", "nativescript-toast": "^1.4.6", "nativescript-ui-chart": "^3.6.1", "nativescript-ui-dataform": "~3.5.2", "nativescript-ui-listview": "^3.5.8", "nativescript-ui-sidedrawer": "^4.1.1", "reflect-metadata": "~0.1.8", "rxjs": "~6.0.0 || >=6.1.0", "tns-core-modules": "^4.1.0", "zone.js": "^0.8.20" }, "devDependencies": { "@angular/compiler-cli": "~6.1.0-beta.3", "@ngtools/webpack": "6.1.0-rc.0", "babel-traverse": "6.18.0", "babel-types": "6.18.0", "babylon": "6.13.1", "lazy": "1.0.11", "nativescript-css-loader": "~0.26.0", "nativescript-dev-typescript": "^0.7.1", "nativescript-dev-webpack": "^0.14.4", "typescript": "~2.7.2" } }

Please tell us how to recreate the issue in as much detail as possible.

You can test this project on NS Playground on each platform and check how it works differently, I do not know if I need to change anything in my code.

https://play.nativescript.org/?template=play-ng&id=AacR7f

Is there code involved? If so, please share the minimal amount of code needed to recreate the problem.

https://play.nativescript.org/?template=play-ng&id=AacR7f whatsapp image 2018-07-16 at 21 21 08 1 whatsapp image 2018-07-16 at 21 21 08

NickIliev commented 6 years ago

Confirming this behavior as unexpected and marking this one as a bug. Apart from the Playground provided by @marcelomiranda90 the issue can be tested with this application.

Result:: on iOS from both inline editors only the value of the second one can be obtained (token mode) via getPropertyByName (works as expected on Android where both values can be accessed)

DimitarTodorov commented 6 years ago

The issue is fixed with the latest release of nativescript-ui-dataform. https://github.com/NativeScript/nativescript-ui-dataform/releases/tag/v3.6.2

gomeschristopher commented 4 years ago

I still have the same problem in IOS