flashboard icon indicating copy to clipboard operation
flashboard copied to clipboard

Integrate Model relations on UI?

Open weiner opened this issue 8 years ago • 2 comments

Hello,

first of all, impressive work, very cool admin UI. I am wondering if you have plans to enable the edit of model relations on the UI. https://loopback.io/doc/en/lb3/Creating-model-relations.html

weiner avatar Jul 14 '17 19:07 weiner

@weiner Hi, Thank you so much. relations in admin ui will be enable in my next weekend commitment. Its was my first priority after first version. I will inform you here after release.

vah7id avatar Jul 14 '17 19:07 vah7id

@weiner Hi dude,

I release a new version that support model relation on admin UI. docs updated too 👍


{
"uiType": "Relationship",
"options": {
"ref": "Users",
"filter": { "type": "user" },
"key": "email"
}

key: Used to show model data key for select ui in admin dashboard. ref: Specify the related Model using the ref option filter: You can filter a relationship field using the filters option.

vah7id avatar Jul 24 '17 12:07 vah7id