Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix #9778 - Dynamic dropdown fields dont work in inline edit #10609

Open
wants to merge 1 commit into
base: hotfix
Choose a base branch
from

Conversation

SinergiaCRM
Copy link
Contributor

Description

Fixes dynamic dropdowns not filtering correctly in both list and detail views. The changes address two distinct scenarios:

  1. Detail View: Restores hidden field after inline editing to maintain parent field value access
  2. List View: Implements dynamic filtering using getFieldValueFromModule to access parent field values

Related issue: [Link to issue]

Motivation and Context

Dynamic dropdowns were not filtering correctly:

  • Detail view lost filtering after inline edits due to missing hidden field
  • List view had no filtering mechanism implemented

How To Test This

  1. Detail View Testing:

    • Open any record with dynamic dropdowns
    • Edit parent field inline
    • Verify dependent field filters correctly
    • Change parent field again
    • Verify dependent field updates accordingly
  2. List View Testing:

    • Navigate to list view with dynamic dropdowns
    • Edit parent field inline
    • Verify dependent field filters properly

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)

Final checklist

  • My code follows the code style of this project found here.
  • My change requires a change to the documentation.
  • I have read the How to Contribute guidelines.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant