-
Hi, I'm building out a workflow to create an OAuth application in Segment. As part of this workflow, we allow users to revoke a token, which is entered in a |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Hi @mschasz I'm assuming the user isn't actually entering data into the hidden field as that would be a pretty tricky thing to do if you can't see the input, but instead its used by you as part of the flow? If you don't see the input, I'm not entirely sure of the restriction on needing a textarea, wouldn't a hidden input function exactly the same for that purpose? Just somewhere you can place a value and retrieve it later? Going further down that line of thought, if it's hidden, a To quote a little MDN from https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/hidden
That might help point you in a direction too. |
Beta Was this translation helpful? Give feedback.
Hi @mschasz
I'm assuming the user isn't actually entering data into the hidden field as that would be a pretty tricky thing to do if you can't see the input, but instead its used by you as part of the flow?
If you don't see the input, I'm not entirely sure of the restriction on needing a textarea, wouldn't a hidden input function exactly the same for that purpose? Just somewhere you can place a value and retrieve it later?
Going further down that line of thought, if it's hidden, a
<Box as="textarea" hidden />
would probably work just fine too, as would just plain html elements<input type="hidden" />
. At that stage theres no real requirement it needs to be a component, an HTML element wil…