nebula
nebula copied to clipboard
Attribute Field
How to append custom attributes to field? For example on User model, I have field first_name and last_name. And i make custom attribute called full_name
// App/Model/User.php
public function getFullNameAttribute(){
return $this->first_name.' '.$this->last_name;
}
Oh my bad, just fill on second argument on field::make
Input::make('Full Name', 'full_name')
This library is awesome But is possible to search or filter this custom attribute?