Enum Field Auto convert enum field to select dropdown (Added in v 3.1)

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");
SQLSTATE[42S02]: Base table or view not found: 1146 Table 'pdocrud6_pdocrud.ProductSizes' doesn't exist