This is the chtml of radio-button in one of my update form. field($model, ‘customer_sel’)->radioList(array(‘customer’ => ‘Customer’, ‘supplier’ => ‘Supplier’, ‘…
Tag: yii2-model
How do I add a filter on yii2 models
I have a query used to read data from a view. I am then applying a non related sql filter to this, to take out the models I don’t need and then returning an arrayDataProvider instance. The filter I am applying is the promotion period. However, when I pass query params to this search model, it doesn’t work. How do