Replies: 1 comment 2 replies
|
To make it controlled, you will need onChange and other props while it's using react-hook-form. I think it would be more appropriate to support passing a custom component for authentication fields(?) so you can add custom buttons (e.g. login) and use the user token directly for API playground |
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
is there any possibility to allow for fully controlling the value of inputs such as authorization in
APIPlaygroundcomponent? A use case for this is to be able to populate an access token, email, name, or other info and keep it in sync with state/local storage.current
PrimitiveRequestFieldfield only containsdefaultValuecurrently, avalueprop would also be helpful in such cases.All reactions