Skip to content

Conversation

@ivicac
Copy link
Contributor

@ivicac ivicac commented Dec 23, 2025

No description provided.

…ormula mode and prevent the '=' from being inserted into the editor
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR fixes the behavior when a user types '=' as the first character in the property mentions input editor. Previously, the '=' character would be inserted into the editor before formula mode was enabled. Now, formula mode is enabled and the '=' character insertion is prevented.

Key Changes:

  • Split the combined conditional logic into two separate blocks for better control flow
  • Added event.preventDefault() to block the '=' character from being inserted when typed in an empty editor
  • Formula mode is now enabled before any character insertion occurs

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@sonarqubecloud
Copy link

@kresimir-coko
Copy link
Collaborator

@ivicac ja već imam fix za ovo u pripremi, tako da ću zatvoriti ovaj PR

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.

[bug] After typing '=' in the mention input field, it stays in the input field

3 participants