Skip to content
This repository has been archived by the owner on Nov 23, 2021. It is now read-only.

Attribute Field #59

Open
axmad386 opened this issue Mar 12, 2021 · 1 comment
Open

Attribute Field #59

axmad386 opened this issue Mar 12, 2021 · 1 comment

Comments

@axmad386
Copy link

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
Copy link
Author

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?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant