Skip to content

Attempted fix for #74 - rendering non scalar values#75

Merged
bluebill1049 merged 2 commits intoreact-hook-form:masterfrom
cabbiepete:patch-1
Apr 8, 2021
Merged

Attempted fix for #74 - rendering non scalar values#75
bluebill1049 merged 2 commits intoreact-hook-form:masterfrom
cabbiepete:patch-1

Conversation

@cabbiepete
Copy link
Copy Markdown
Contributor

@cabbiepete cabbiepete commented Apr 8, 2021

Issue: #74

If we have set value as html i.e. wrapped in the pre tag do not put it inside a p they are not allowed block level elements. Instead wrap in a div and do not render html into title attribute.

If we have set value as html i.e. wrapped in the pre tag do not put it inside a `p` they are not allowed block level elements. Instead wrap in a `div` and do not render html into `title` attribute.
@cabbiepete cabbiepete marked this pull request as ready for review April 8, 2021 23:56
@bluebill1049
Copy link
Copy Markdown
Member

thanks heaps!

@bluebill1049 bluebill1049 merged commit 8f49c1e into react-hook-form:master Apr 8, 2021
@cabbiepete cabbiepete deleted the patch-1 branch April 9, 2021 01:11
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