Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Creating a button that is is changing state when an image is selected

Community Beginner ,
Mar 30, 2022 Mar 30, 2022

Hi,

i have a list of images displayed for the user, i want the user to click at one of the images, and then make a button clickable for the user. Problem is, i dont know how without making a absurd amount of art boards.

 

Thanks in advance!Screenshot 2022-03-30 163547.png

264
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Mar 30, 2022 Mar 30, 2022

This is how I would appoarch it. Treat the 5 buttons and the continue button as ONE component. Tapping on one of the 5 images would move that component to a new state, where the Continue button would now enabled. If you want to show some feedback on the 5 images, you will need to create more states for each one.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Mar 31, 2022 Mar 31, 2022
LATEST

Do you mean states in the ONE component or in sub componenets? Sorry if the answere is obvious, your answere already helped alot btw.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines