mercredi 20 avril 2016

making new dropdown select in ember js

im kindly new to emberjs and im still figuring out what's best for the application im doing at the moment.

So iam now having a dropdown which is using select tag and #each tag like this :


      <option value="" disabled="disabled" selected="selected">Select category</option>
        
          
            
          
        
      

I want this part can be reusable and repopulate so it can duplicate into infinite choice like after i chose the dropdown, it will show my choice and make another dropdown to show if there is any choice related to previous dropdown, so i might be having 2, 3 or more dropdown depending how many child it has but only using this one select tag, and all the data is depending from API.

Is there anyone kindly to help? much appreciated.




Aucun commentaire:

Enregistrer un commentaire