FilamentF
Filament3y ago
Abi

Update the value of input field before saving to database

I have a text input field that accept numeric value. The value is to store amount, but before saving to the database, I want to convert that value to cents instead of storing the actual float value. What is the best way to do this?
Was this page helpful?