
Enum field will be automatically converted to dropdown. You need to enable enumToSelect = true to make it appear as dropdown.
  
                                $pdocrud = new PDOCrud();
                                $pdocrud->setSettings("enumToSelect", true);//this setting can be done directly in config file.
                                echo $pdocrud->dbTable("productsizes")->render("insertform");
                                
                            