Page MenuHomeSealhub

custom-field-type.js
No OneTemporary

custom-field-type.js

module.exports = function (app) {
app.createChip(app.Sealious.FieldType, {
name: "custom_field_type",
is_proper_value: async function (context, params, user_id) {
//some logic
if (value_is_correct) {
return Promise.resolve();
} else {
return Promise.reject("No access");
}
},
});
};

File Metadata

Mime Type
text/plain
Expires
Sat, Nov 8, 04:44 (1 d, 4 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1033316
Default Alt Text
custom-field-type.js (311 B)

Event Timeline