MoreiraME2
MoreiraME2
FFilament
Created by MoreiraME2 on 1/27/2024 in #❓┊help
Submit with more than one record in the same column
it's not like that. But thanks!
4 replies
FFilament
Created by MoreiraME2 on 1/22/2024 in #❓┊help
data does not appear on the form when editing a repeater
this is my Create Form
11 replies
FFilament
Created by MoreiraME2 on 1/22/2024 in #❓┊help
data does not appear on the form when editing a repeater
Forms\Components\TextInput::make('quantity') ->label('Quantidade') ->required() ->default(0) ->mask('9999999999'), Forms\Components\TextInput::make('minimum_stock') ->label('Estoque mínimo') ->default(0) ->required() ->mask('9999999999'), Forms\Components\Toggle::make('is_active') ->label('Ativar o produto no ponto de venda'), ]) ]) ->addActionLabel('Adicionar produto') ]) ->columns(1); }
11 replies
FFilament
Created by MoreiraME2 on 1/22/2024 in #❓┊help
data does not appear on the form when editing a repeater
public static function form(Form $form): Form { return $form ->schema([ Forms\Components\Repeater::make('product_point_sale') ->label('') ->schema([ Forms\Components\Fieldset::make('Informações do produto | Estoque | Preço') ->schema([ Forms\Components\Select::make('product_id') ->label('Produto') ->placeholder('Selecione um produto') ->options( Product::all() ->mapWithKeys(fn ($product) => [$product->id => $product->name]) ->toArray() ) ->required(), Forms\Components\Select::make('point_sale_id') ->label('Ponto de Venda') ->placeholder('Selecione um ponto de venda') ->options( PointSale::all() ->mapWithKeys(fn ($pointSale) => [$pointSale->id => $pointSale->name]) ->toArray() ) ->required(), Money::make('price') ->label('Preço de venda') ->required() ->default(0),
...
11 replies
FFilament
Created by MoreiraME2 on 1/22/2024 in #❓┊help
data does not appear on the form when editing a repeater
No description
11 replies
FFilament
Created by MoreiraME2 on 1/22/2024 in #❓┊help
data does not appear on the form when editing a repeater
No description
11 replies
FFilament
Created by MoreiraME2 on 1/20/2024 in #❓┊help
Error showing image!
No description
3 replies
FFilament
Created by MoreiraME2 on 1/16/2024 in #❓┊help
To translate the 'enum' within the Badge in the Table.
thank you very much. That's exactly it!
4 replies