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

HOTFIX: Updated fields to only change when necessary (B:1766) #518

Merged
merged 1 commit into from
Mar 2, 2025

Conversation

droberts-ctrlo
Copy link
Contributor

Calc field changes were triggering on all fields, causing the system to slow down significantly - the updated code only changes fields when this is necessary now.

// And trigger a change on its parent div to trigger any display
// conditions
$field.closest('.linkspace-field').trigger("change")
$field.find('textarea').trigger('change');
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This could reuse textArea but I'm happy to merge as-is

@abeverley abeverley merged commit f69457b into ctrlo:dev Mar 2, 2025
4 of 7 checks passed
@droberts-ctrlo droberts-ctrlo deleted the calc-timing-update branch March 5, 2025 16:51
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.

2 participants