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

@@ -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: {