AnnA|Sythe|Jake
AnnA|Sythe|Jake
FFilament
Created by AnnA|Sythe|Jake on 7/31/2024 in #❓┊help
Form data save issue.
Grid::make(2)
->relationship('physicalAddress')
->schema(AddressComponents::getAddressSchema()),
Grid::make(2)
->relationship('physicalAddress')
->schema(AddressComponents::getAddressSchema()),
public static function getAddressSchema(): array {
return [
TextInput::make('address_street_1')
->label('Street Address'),
TextInput::make('address_street_2')
->label('Street Address Line 2')
->hint(new HtmlString('<a style="color: blue;"> Optional Information</a>')),
TextInput::make('city')
->label('City'),
TextInput::make('state')
->label('State'),
TextInput::make('zipcode')
->numeric()
->label('Zipcode'),
TextInput::make('country')
->label('Country'),
];
}
public static function getAddressSchema(): array {
return [
TextInput::make('address_street_1')
->label('Street Address'),
TextInput::make('address_street_2')
->label('Street Address Line 2')
->hint(new HtmlString('<a style="color: blue;"> Optional Information</a>')),
TextInput::make('city')
->label('City'),
TextInput::make('state')
->label('State'),
TextInput::make('zipcode')
->numeric()
->label('Zipcode'),
TextInput::make('country')
->label('Country'),
];
}
2 replies
FFilament
Created by AnnA|Sythe|Jake on 6/10/2024 in #❓┊help
export groups from table
Or if someone can answer this. The table i want to export to excel uses groupsOnly(). I just want to prevent myself going down a rabbit hole trying to find this and move on to a new solution.
3 replies
FFilament
Created by AnnA|Sythe|Jake on 6/10/2024 in #❓┊help
export groups from table
I just want to export all the summarizes of the table
3 replies