Skip to content

Commit

Permalink
feat(core): add RElated Items choices to metadata
Browse files Browse the repository at this point in the history
  • Loading branch information
jon-nfc committed Nov 27, 2024
1 parent 8837811 commit 696b6e7
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions app/api/react_ui_metadata.py
Original file line number Diff line number Diff line change
Expand Up @@ -288,8 +288,7 @@ def get_field_info(self, field):

if (
# not field_info.get("read_only")
not field_info.get("relationship_resource")
and hasattr(field, "choices")
hasattr(field, "choices")
):
field_info["choices"] = [
{
Expand Down

0 comments on commit 696b6e7

Please sign in to comment.