Yii Framework Forum: Searching in GridView using Radiolist - Yii Framework Forum

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Searching in GridView using Radiolist [solved]

#1 User is offline   tklustig 

  • Standard Member
  • PipPip
  • Yii
  • Group: Members
  • Posts: 269
  • Joined: 20-April 17
  • Location:Hannover

Posted 04 December 2017 - 02:52 AM

I finally got reason for this strange behaviour:
I didn't set choice_date in public function rules. After having coded like this,everything is gonna working fine:

class MailAusgangSearch extends MailAusgang {

    public $choice_date;

    public function rules() {
        return [
            [['id', 'id_person_mitarbeiter', 'sende_fehler_code', 'angelegt_von', 'aktualisiert_von'], 'integer'],
            [['mail_antwortadresse', 'wichtigkeit', 'bodyformat', 'betreff', 'bodytext', 'freigabe_datum', 'sende_datum', 'sende_fehler_beschreibung', 'angelegt_am', 'aktualisiert_am'], 'safe'],
            [['entwurf', 'freigabe', 'gesendet','choice_date'], 'boolean'],
        ];
    }
.
.


So,this thread can be closes as succesfully solved
0

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users