mirror of
https://github.com/pocketbase/pocketbase.git
synced 2026-10-12 17:27:27 +02:00
merge newui branch
This commit is contained in:
1 parent
58f605e90c
commit
4c44044c0c
804 files changed
+58660
-56663
No files matched your search
@@ -0,0 +1,19 @@
|
||||
import { input } from "./input";
|
||||
import { settings } from "./settings";
|
||||
import { view } from "./view";
|
||||
|
||||
window.app = window.app || {};
|
||||
window.app.fieldTypes = window.app.fieldTypes || {};
|
||||
window.app.fieldTypes.geoPoint = {
|
||||
icon: "ri-map-pin-2-line",
|
||||
label: "Geo Point",
|
||||
settings,
|
||||
input,
|
||||
view,
|
||||
identifierExtractor: function(field, prefix = "") {
|
||||
return [prefix + field.name + ".lon", prefix + field.name + ".lat"];
|
||||
},
|
||||
dummyData: (f, forSubmit = false) => {
|
||||
return { lon: 0, lat: 0 };
|
||||
},
|
||||
};
|
||||
Reference in new issue
Block a user