[go: up one dir, main page]

  • Cancel
    Showing results for 
    Show  only  | Search instead for 
    Did you mean: 

    Looping in settings

    Hi there 🙂 I am pretty new and just playing around. Now I got one problem here, I want to do something like this, where I render a (Select-)list with items from an AdditiveList, which is created by TextInputs. Is this somehow possible? Or am I thinking towards a strange dircetion? 

    function openFoo(props) {
      let foo = props.settingsStorage.getItem('additive');
      if (foo != null) {
        return (
          for (item in foo) {
            <Select>{item.name}</Select>
          }
        );
      }
    }

    Best regards and thanks a lot already ! 

    Jacky

    Best Answer
    0 Votes
    0 REPLIES 0