2
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 3 years have passed since last update.

amplify vue の フォームのカスタマイズの公式ドキュメントが間違っている

Last updated at Posted at 2021-07-31

amplify vue の フォームから電話番号を消したいと思い、フォームのカスタマイズを公式ドキュメント通りに実装しようとしたら動作せずとても困った。

<amplify-sign-up
  slot="sign-up"
  username-alias="email"
  :form-fields.prop="formFields"
></amplify-sign-up>

引用元:
https://docs.amplify.aws/ui/auth/authenticator/q/framework/vue#customization

公式だと:form-fields.prop="formFields"のように記述してあるのだが:formFields="formFields"と書くと動く。

<amplify-sign-up
  slot="sign-up"
  username-alias="email"
  :formFields="formFields"
></amplify-sign-up>

以下の質問を見つけて解決できた。
https://www.gitmemory.com/issue/aws-amplify/amplify-js/5363/811567032

armenさん、ありがとう。

2
0
1

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
2
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?