Skip to content

Hidden text in textarea component #3415

Answered by SiTaggart
mschasz asked this question in General
Discussion options

You must be logged in to vote

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…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by TheSisb
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants