<seeds_cat> 
  <select id="f_31" class='form-control medium-2' data-table-id='1'>
    <option each="{ item in select_items }" value="{ item.id }">{ item.name }</option>
  </select>
  <script>
    'use strict';
    this.on('mount', () => {
      let self = this
      self.select = self.root.firstChild

      $.get(
            './php_scripts/get_seeds_cat.php',
            function(data){
              let res = JSON.parse(data)
              self.select_items = res
              self.update();
            })
    })
  </script>
</seeds_cat>
