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 RICH_TEXT display on cell #8676

Merged
merged 2 commits into from
Nov 22, 2024
Merged

Fix RICH_TEXT display on cell #8676

merged 2 commits into from
Nov 22, 2024

Conversation

Weiko
Copy link
Member

@Weiko Weiko commented Nov 22, 2024

Context

We added a check of the field type in useTextFieldDisplay.ts however this hook is also used for RICH_TEXT fields so it fails.
I'm removing this check since I don't think this is necessary, the caller should already know its a TEXT or RICH_TEXT

Copy link
Contributor

@guillim guillim left a comment

Choose a reason for hiding this comment

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

LGTM

@guillim
Copy link
Contributor

guillim commented Nov 22, 2024

In the future, if we have more "text" types, we coule assert the different types but it sounds overkill to me

@Weiko Weiko merged commit ac9cf73 into main Nov 22, 2024
19 checks passed
@Weiko Weiko deleted the c--fix-rich-text-display branch November 22, 2024 11:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants