Skip to content

[ra-input-rich-text] Do not show error message, if input isn't touched - #3208

Merged
djhi merged 1 commit into
marmelab:masterfrom
cherniavskii:ra-input-rich-text-touched-error
May 9, 2019
Merged

djhi merged 1 commit into
marmelab:masterfrom
cherniavskii:ra-input-rich-text-touched-error

Conversation

@cherniavskii

Copy link
Copy Markdown
Contributor

Fixes #3207

@djhi djhi added this to the 2.9.1 milestone May 9, 2019
@djhi

djhi commented May 9, 2019

Copy link
Copy Markdown
Contributor

Thanks!

@djhi
djhi merged commit 0f11032 into marmelab:master May 9, 2019
@cherniavskii
cherniavskii deleted the ra-input-rich-text-touched-error branch May 9, 2019 14:33
@fzaninotto

Copy link
Copy Markdown
Member

Something is wrong with this patch. If the form is submitted but the user didn't touch the field, I expect the error message to show up. Now it doesn't do that anymore. Please open a new PR to fix that or I'll have to revert this patch.

@cherniavskii

cherniavskii commented May 13, 2019 •

Copy link
Copy Markdown
Contributor Author

I suppose, it's because of shouldComponentUpdate blocking rerenders.
I've fixed that in #3209, could you check that?

@cherniavskii

Copy link
Copy Markdown
Contributor Author

@fzaninotto checked it, it is fixed by #3209

@fzaninotto

Copy link
Copy Markdown
Member

#3209 breaks other things, I can't merge it. So I'm going to roll back this one.

@fzaninotto

Copy link
Copy Markdown
Member

Superseded by #3223

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.

[ra-input-rich-text] validation message shows up when field isn't touched

3 participants