I've generated a test lookup entity "TestLookup" with just one property "LookupDescription" (string).
I then generated a test entity "TestEntity" with one property "Description" and one navigation property "TestLookupId" which references "TestLookup". "LookupDescription" is the display property. I've tried generating with setting the "nullable" checkbox check and also unchecked.
Regardless, when I generate "TestEntity" and test the UI, the edit modal always displays the lookup control with the "Pick" search button (magnifying glass) icon. I don't want this. I simply want a dropdown list containing the lookup values.
How do I accomplish this via PowerTools?
Cheers
4 Answer(s)
-
0
Rad tool doesn't have this option.
You can create a feature request on https://github.com/aspnetzero/aspnet-zero-core/issues
-
0
Is there any write-up or guidance how to modify the generated code to accomplish this?
-
0
I agree, having an example on the easiest way to convert these controls to simple drop-downs would be very helpful.
-
0
Thanks @schlarmanp for creating the issue https://github.com/aspnetzero/aspnet-zero-core/issues/2378.