public function getDashletFields()
    {
        /**
        *	if you want to use jQuery color picker instead of HTML5
        *	<input type='color' />, uncomment out the lined which add
        *	the extra class, and comment out the lines which are setting
        *	the attribute to type => color
        */
        
        $extraClasses = MultiValueTextField::create('ExtraClasses');

        $fields = new FieldList(new TextField('Title', _t('Dashlet.TITLE', 'Title')), $extraClasses);
        $this->extend('updateDashletFields', $fields);
        return $fields;
    }
public function getDashletFields()
    {
        /**
        *	if you want to use jQuery color picker instead of HTML5
        *	<input type='color' />, uncomment out the lined which add
        *	the extra class, and comment out the lines which are setting
        *	the attribute to type => color
        */
        
        $extraClasses = MultiValueTextField::create('ExtraClasses');

        $fields = new FieldList(new TextField('Title', _t('Dashlet.TITLE', 'Title')), $extraClasses);
        $this->extend('updateDashletFields', $fields);
        return $fields;
    }
public function getDashletFields ( ) { /**
        *	if you want to use jQuery color picker instead of HTML5
        *	<input type='color' />, uncomment out the lined which add
        *	the extra class, and comment out the lines which are setting
        *	the attribute to type => color
        */ $ extraClasses = MultiValueTextField :: create ( 'ExtraClasses' ) ; $ fields = new FieldList ( new TextField ( 'Title' , _t ( 'Dashlet.TITLE' , 'Title' ) ) , $ extraClasses ) ; $ this -> extend ( 'updateDashletFields' , $ fields ) ; return $ fields ; }
Gets the fields used for editing this dashlet on the frontend

@return FieldSet
Gets the fields used for editing this dashlet on the frontend