/** * Initialize field settings */ protected function init() { parent::init(); $this->attributes['type'] = 'password'; }
/** * Initialize field settings */ protected function init() { parent::init(); $this->attributes['type'] = 'hidden'; }