<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>vsuko</author_name>
  <author_url>https://blog.hatena.ne.jp/vsuko/</author_url>
  <blog_title>凡人会社員の成長日記</blog_title>
  <blog_url>https://vsuko.hateblo.jp/</blog_url>
  <categories>
    <anon>react</anon>
    <anon>react-hook-form</anon>
  </categories>
  <description>管理画面系などたまーに下記の画像のように改行区切りで値を取得したい時があります。 console そんなときは、サンプルコードのようにすればyupと組み合わせたときでも問題なく値を取得することが可能です。 import { NextPage } from 'next'; import { Controller, useForm } from 'react-hook-form'; import React, { ChangeEvent } from 'react'; import * as yup from 'yup'; import { yupResolver } from '@hookfor…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fvsuko.hateblo.jp%2Fentry%2F2022%2F06%2F26%2F090738&quot; title=&quot;react-hook-from textareaの値を改行区切りで取得する - 凡人会社員の成長日記&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url>https://cdn-ak.f.st-hatena.com/images/fotolife/v/vsuko/20220626/20220626085151.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2022-06-26 09:07:38</published>
  <title>react-hook-from textareaの値を改行区切りで取得する</title>
  <type>rich</type>
  <url>https://vsuko.hateblo.jp/entry/2022/06/26/090738</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
