peteswan23
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