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

Add "focus" callback event for form fields #1082

Open
bilalmalkoc opened this issue Mar 4, 2024 · 0 comments
Open

Add "focus" callback event for form fields #1082

bilalmalkoc opened this issue Mar 4, 2024 · 0 comments
Labels
backlog Queued in backlog enhancement New feature or request

Comments

@bilalmalkoc
Copy link

Is your feature request related to a problem? Please describe.

When focusing on the builder element, dynamically created dom elements can disrupt the functioning of main form if it is in the builder form element. #1077

For example, when we add a button, the select element that changes the "Submit" or "Reset" types of the button disrupts the functioning of the main form because of the name="action" attribute it contains.

Also, if there is no type="button" attribute in the button elements added when focusing, it submits the main form in which the builder is located when clicked.

Describe the solution you'd like

If there is a callback event when focusing on the builder field, we can avoid potential errors by manipulating both the elements inside the field and the properties elements on the right side.

In the callback arguments we must have access to the elements of the form field and the properties elements on the right side.

@bilalmalkoc bilalmalkoc added the enhancement New feature or request label Mar 4, 2024
@nikku nikku added the backlog Queued in backlog label Mar 7, 2024 — with bpmn-io-tasks
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
Development

No branches or pull requests

2 participants