Describe the problem you are trying to solve
When editing/crediting a record and editing a lookup field, we should always show a record search.
Requirements:
- Show record lookup search when editing a record
- Add option to toggle between lookup and manual text entry
- If relationship is polymorphic, then the user should be able to choose the target object
- If relationship is polymorphic and there is existing data in the field, the correct object should be shown
Impacted areas:
- Create/edit/Clone records
- Data table inline editor (this already exists, but experience should be unified)
- Bulk update record
- (maybe?) Query filters