#Hide/unmount component

5 messages · Page 1 of 1 (latest)

nimble violet
#

hello. Is it possible to "remove" a component from the page? I'm not talking about hiding with styles tho.

Basically I have some things that are protected with password, and if you type the correct password, the input text will disappear and the user will have access to it.

for example
you go to site/oiqw78d, protected with password. it loads but you're also requested to type a password. once you type the correct one, said request disappear and you can freely access the media. Is it possible? or should i do it in another way

astral swallowBOT
#

🔎 This post has been indexed in our web forum and will be seen by search engines so other users can find it outside Discord

🕵️ Your user profile is private by default and won't be visible to users outside Discord, if you want to be visible in the web forum you can add the "Public Profile" role in id:customize

✅ You can mark a message as the answer for your post with Right click -> Apps -> Mark Solution
(if you don't see the option, try refreshing Discord with Ctrl + R)

nimble violet
#

Up

vapid bluff
#

why not bring the components when password is matched? it's more secure too

astral swallowBOT
#
✅ Success!

This question has been marked as answered! If you have any other questions, feel free to create another post

Jump to answer

[Click here](#1212883049671430214 message)