-
Notifications
You must be signed in to change notification settings - Fork 2.9k
fix: LEAP-1363: View all is loading even when value is empty for RichText #6190
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
Conversation
✅ Deploy Preview for label-studio-docs-new-theme ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
✅ Deploy Preview for heartex-docs ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
/git merge develop
|
/git merge develop
|
/git merge develop
|
we need to distinguish an empty string from non loaded state, for that we add ability to have null _value
/git merge develop
|
PR fulfills these requirements
[fix|feat|ci|chore|doc]: TICKET-ID: Short description of change made
ex.fix: DEV-XXXX: Removed inconsistent code usage causing intermittent errors
Change has impacts in these area(s)
(check all that apply)
Describe the reason for change
When user is using a config with text, and uploading the data with no value for the text, the RichText tag is not loading and the prop isReady is not set to true, so when user clicks on
View all Annotations
view, it's not loading the taskWhat does this fix?
Just changes the validation from
!this_value
for!this._value === null
so even if the value is empty but the data is correct and value exists, it's loading the tag and setting isReady to true when it's ready.