peteswan23
peteswan23
FFilament
Created by peteswan23 on 3/5/2025 in #❓┊help
format minutes as hours in form, and save back to database as minutes.
Thanks mate! Tried this, but still wont appear in my form.Tried this. Forms\Components\TextInput::make('planned_time') ->dehydrateStateUsing(fn ($state) => number_format($state / 60, 2)), but it doesn't change the formatting.
5 replies