# belongsTo form with enum values

**URL:** <https://community.forestadmin.com/t/belongsto-form-with-enum-values/7326>\
**Category:** Help me!\
**Tags:** related-data, smart-relationship\
**Created:** [July 16, 2024, 8:56am UTC](https://community.forestadmin.com/t/belongsto-form-with-enum-values/7326 "2024-07-16T08:56:32Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![kll](https://dub1.discourse-cdn.com/flex013/user_avatar/community.forestadmin.com/kll/32/7091_2.png) [@kll](https://community.forestadmin.com/u/kll)\
**Post date:** [July 16, 2024, 12:54pm UTC](https://community.forestadmin.com/t/belongsto-form-with-enum-values/7326/5 "2024-07-16T12:54:17Z")

</div>

We were working in a record view, while editing a relationship (nothing smart about all of this).

I _think_ I was trying to migrate code I wrote before the dropdown filter was an option. This post certainly seems to indicate so:  
[Relationship dropdown edit widget filter - how to filter dataset based on current entity - Help me! - Forest Admin Developers Community](https://community.forestadmin.com/t/relationship-dropdown-edit-widget-filter-how-to-filter-dataset-based-on-current-entity/3752)

Who knew using undocumented hacks could backfire in any way?

I’m actually noticing that this suggestion was implemented:  
 ![image](https://europe1.discourse-cdn.com/flex013/uploads/forest/original/2X/f/f48db46330ffc7f20c8bd4570142b715aaf9a23f.png)

Noice. Thanks folks. We even have autocomplete.

I believe I marked my previous message as the solution, do I need to do anything else on the post?

---

_[View the full topic](https://community.forestadmin.com/t/belongsto-form-with-enum-values/7326)._
