Upgrade to form-binder patch

This commit is contained in:
John Lyon-Smith
2018-05-15 14:42:07 -07:00
parent 4220df4ca5
commit c3546be1a1
6 changed files with 11 additions and 11 deletions

View File

@@ -5109,9 +5109,9 @@
}
},
"react-form-binder": {
"version": "3.0.0",
"resolved": "https://registry.npmjs.org/react-form-binder/-/react-form-binder-3.0.0.tgz",
"integrity": "sha512-XPXw+OVxfko1rcN1WjLxaCt8FVZaWrjCI7XNaNx1Su8/QFDqeAh1dgWpySE31i73un2v3ig+0r0WL+lHaV9Y3Q==",
"version": "3.0.1",
"resolved": "https://registry.npmjs.org/react-form-binder/-/react-form-binder-3.0.1.tgz",
"integrity": "sha512-6xu+YzKqRx2b0fAIUgjS76njzYf3A22/isD3ITpFdl7bdFWWpnJhyzEJI+YUuvZxyBq+JHlRmqjCZA4xHQZlAg==",
"requires": {
"eventemitter3": "^2.0.3",
"prop-types": "^15.5.10",

View File

@@ -23,7 +23,7 @@
"eventemitter3": "^3.1.0",
"moment": "^2.22.1",
"react": "^16.3.2",
"react-form-binder": "^3.0.0",
"react-form-binder": "^3.0.1",
"react-native": "^0.55.4",
"react-native-fs": "^2.9.12",
"react-native-image-picker": "^0.26.7",

View File

@@ -66,7 +66,7 @@ export class WorkItem extends React.Component {
alwaysGet: true,
initValue: null,
pre: (v) =>
v !== null && formatLatLng(v.coordinates[1], v.coordinates[0]),
v !== null ? formatLatLng(v.coordinates[1], v.coordinates[0]) : "",
post: (v) => parseLatLng(v),
},
address: {

View File

@@ -2,8 +2,8 @@ import React from "react"
import { Platform } from "react-native"
export const config = {
localIPAddr: "192.168.1.175",
//localIPAddr: "192.168.1.14",
//localIPAddr: "192.168.1.175",
localIPAddr: "192.168.1.14",
viroAPIKey: "06F37B6A-74DA-4A83-965A-7DE2209A5C46",
googleGeocodeAPIKey: "AIzaSyCs4JVT6gysnY5dAJ7KjVJYeykLv_xz1GI",
googleGeocodeURL: "https://maps.googleapis.com/maps/api/geocode/json",