django-unfold icon indicating copy to clipboard operation
django-unfold copied to clipboard

Auto_complete styling works incorrectly for ForeignKey field when more than one field on one line

Open justinqian42 opened this issue 1 year ago • 3 comments

image

As the picture shows, the selection bar's width is longer than the drop-down menu.

justinqian42 avatar Jan 19 '24 06:01 justinqian42

image

Seems fixable by adding in style="width: 100%;".

justinqian42 avatar Jan 19 '24 07:01 justinqian42

Screenshots with style="width: 100%;".

image image image

justinqian42 avatar Jan 19 '24 07:01 justinqian42

I have having similar issue with inline foreign keys.

@justinqian42 Unrelated to your post, how did you implement this? image

afsangujarati93 avatar Apr 17 '24 18:04 afsangujarati93

@justinqian42 fixed #364

lukasvinclav avatar May 04 '24 09:05 lukasvinclav

@justinqian42 fixed #364

Thanks Luka! You're the best!

justinqian42 avatar May 05 '24 11:05 justinqian42

I have having similar issue with inline foreign keys.

@justinqian42 Unrelated to your post, how did you implement this? image

@afsangujarati93 just enable auto_complete for the field.

justinqian42 avatar May 05 '24 11:05 justinqian42