nebula icon indicating copy to clipboard operation
nebula copied to clipboard

Attribute Field

Open axmad386 opened this issue 4 years ago • 1 comments

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;
}

axmad386 avatar Mar 12 '21 15:03 axmad386

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?

axmad386 avatar Mar 12 '21 16:03 axmad386