Hi, we are using adminjs on top of a MeteorJS application, which uses String ID's as the primary _id field by default for all its collections.
This tweak seems safe enough to allow strings to be used as ID fields so that the adminjs interface uses the select/dropdow widget to pick a related model via the ref.
Probably could have added this for number fields too.
Hi, we are using adminjs on top of a MeteorJS application, which uses String ID's as the primary _id field by default for all its collections.
This tweak seems safe enough to allow strings to be used as ID fields so that the adminjs interface uses the select/dropdow widget to pick a related model via the ref.
Probably could have added this for number fields too.