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

NativeScript RadDataForm validateAndCommitAll doesn't work on iOS #1344

Open NickIliev opened 4 years ago

NickIliev commented 4 years ago

@koraykupe commented on Thu Jan 30 2020

I am trying to validate the form in a Nativescript Vue project, by accessing the form via refs and use validateAndCommitAll method of RadDataForm class.

On Android it just works and shows the alert, but on iOS it does nothing.

What would be a solution?

Playground link with sample code: https://play.nativescript.org/?template=play-vue&id=E7pBtn

package.json

{
  "name": "leisurehot-frontend-belvilla",
  "version": "0.1.0",
  "private": true,
  "scripts": {
    "build": "vue-cli-service build",
    "build:android": "tns build android --env.production",
    "build:ios": "tns build ios --env.production",
    "clean:android": "rimraf platforms/android",
    "clean:ios": "rimraf platforms/ios",
    "clean:platforms": "rimraf platforms",
    "debug:android": "tns debug android --env.development",
    "debug:ios": "tns debug ios --env.development",
    "lint": "vue-cli-service lint",
    "preview:android": "tns preview --env.development --env.android",
    "preview:ios": "tns preview --env.development --env.ios",
    "serve": "vue-cli-service serve",
    "serve:android": "tns run android --env.development",
    "serve:ios": "tns run ios --env.development",
    "test:e2e": "vue-cli-service test:e2e",
    "test:unit": "vue-cli-service test:unit"
  },
  "lint-staged": {
    "*.{js,vue}": [
      "vue-cli-service lint",
      "git add"
    ]
  },
  "dependencies": {
    "@nativescript/core": "^6.3.2",
    "@nativescript/theme": "^2.2.1",
    "@nstudio/nativescript-cardview": "^1.0.0",
    "@nstudio/nativescript-loading-indicator": "^3.0.1",
    "core-js": "^3.6.4",
    "leisurehot-frontend-core": "file:../leisurehot-frontend-core",
    "nativescript-app-sync": "^2.0.0",
    "nativescript-carousel": "^6.1.1",
    "nativescript-geolocation": "^5.1.0",
    "nativescript-laravel-echo": "^1.2.0",
    "nativescript-local-notifications": "^4.1.5",
    "nativescript-plugin-firebase": "^10.3.3",
    "nativescript-theme-core": "^2.0.24",
    "nativescript-ui-autocomplete": "^6.0.0",
    "nativescript-ui-chart": "^7.1.1",
    "nativescript-ui-core": "^4.0.0",
    "nativescript-ui-dataform": "^6.0.0",
    "nativescript-ui-listview": "^8.0.1",
    "nativescript-ui-sidedrawer": "^8.0.0",
    "nativescript-urlhandler": "^1.3.0",
    "nativescript-vue": "^2.5.0-alpha.3",
    "nativescript-vue-lifecycle-hooks": "^1.0.0",
    "nativescript-vue-navigator": "^0.2.0",
    "sprintf-js": "^1.1.2",
    "vue": "^2.6.11",
    "vue-moment": "^4.1.0",
    "vuex": "^3.1.1"
  },
  "devDependencies": {
    "@babel/core": "^7.8.3",
    "@babel/preset-env": "^7.8.3",
    "@babel/traverse": "^7.8.3",
    "@vue/cli-plugin-babel": "^4.1.2",
    "@vue/cli-plugin-eslint": "^4.1.2",
    "@vue/cli-service": "^4.1.2",
    "@vue/eslint-config-standard": "^5.1.0",
    "@vue/test-utils": "1.0.0-beta.31",
    "babel-eslint": "^10.0.1",
    "babel-loader": "^8.0.6",
    "chai": "^4.1.2",
    "clean-webpack-plugin": "~1.0.0",
    "copy-webpack-plugin": "~4.6.0",
    "css-loader": "^3.4.2",
    "debug": "^4.1.1",
    "dotenv": "^8.2.0",
    "dotenv-expand": "^5.1.0",
    "eslint": "^6.8.0",
    "eslint-plugin-import": "^2.20.0",
    "eslint-plugin-node": "^11.0.0",
    "eslint-plugin-promise": "^4.2.1",
    "eslint-plugin-standard": "^4.0.1",
    "eslint-plugin-vue": "^6.1.2",
    "lint-staged": "^10.0.2",
    "nativescript-dev-webpack": "^1.4.1",
    "nativescript-vue-template-compiler": "^2.5.0-alpha.3",
    "nativescript-worker-loader": "^0.10.0",
    "node-sass": "^4.13.1",
    "request": "^2.88.0",
    "rimraf": "^2.6.3",
    "string-replace-loader": "^2.2.0",
    "terser-webpack-plugin": "1.2.3",
    "vue-cli-plugin-nativescript-vue": "^0.3.1",
    "vue-loader": "^15.8.1",
    "vue-template-compiler": "^2.6.11",
    "webpack": "^4.41.5",
    "webpack-bundle-analyzer": "^3.6.0",
    "webpack-cli": "^3.3.10"
  },
  "gitHooks": {
    "pre-commit": "lint-staged"
  },
  "nativescript": {
    "id": "com.belvillahot",
    "tns-android": {
      "version": "6.2.0"
    },
    "tns-ios": {
      "version": "6.2.0"
    }
  }
}