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

formField.search event #1366

Open
jay67nie opened this issue Feb 24, 2025 · 0 comments
Open

formField.search event #1366

jay67nie opened this issue Feb 24, 2025 · 0 comments
Labels
backlog Queued in backlog enhancement New feature or request spring cleaning Could be cleaned up one day

Comments

@jay67nie
Copy link

jay67nie commented Feb 24, 2025

🚀 Feature Request: Include Position Index in formField.search Event especially for selects in dynamiclists

Description

It would be beneficial to include the position index of the select fields being searched within the formField.search event. This enhancement would greatly simplify data manipulation, especially in scenarios where the value of the select field determines the options available in a dependent child select field.

Use Case

When implementing functionality with dependent select fields, having the index makes it easier to:

  • Track and identify the source select field.
  • Efficiently manage dynamic data loading for child select fields.
  • Enhance maintainability and readability of the code, especially in complex forms.

Proposed Solution

  • Include the position index as a parameter in the formField.search event payload.
  • Ensure backward compatibility to avoid breaking existing implementations.

Benefits

  • Streamlined data handling for dependent select fields.
  • Improved developer experience by providing more context in the event data.
  • Increased flexibility for implementing advanced form functionalities.

Additional Context

This feature would be especially useful for scenarios involving dynamic or cascading select fields, where the value of one select influences the options of another.

@jay67nie jay67nie added the enhancement New feature or request label Feb 24, 2025
@vsgoulart vsgoulart added spring cleaning Could be cleaned up one day backlog Queued in backlog labels Feb 24, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backlog Queued in backlog enhancement New feature or request spring cleaning Could be cleaned up one day
Projects
None yet
Development

No branches or pull requests

2 participants