Help needed: Adding a new item to a list

Hello,

I am a newbie when it comes to this, so apologies if I might not explain it properly.

My problem:

  • Working on a prototype, that works with lists (for books)
  • User is supposed to be able to create their own lists, next to standard ones
  • I already have a page with lists, added an “add”-icon which brings you to a new page
  • on the new page you can type in the new name for the list and click a button to submit it
  • I figured how to get the text from page 2 to page 1, when I leave a blank “list”-button on page 1
  • Now I obviously don’t want to have a blank button visible
    -> how do I either hide it when not filled/shown when filled OR even better: be able to add as many new lists as possible?

Thank you so much in advance!