Override default precision of 2 digits alpine mask

Hi! I am using the alpine input mask, and it work fine! Is there a way to override the default precision of 2 digits (to 4) for a TextInput? Alpine has this mask: <input x-mask:dynamic="$money($input, '.', ',', 4)"> This is not working: TextInput::make('price') ->required() ->numeric() ->mask(RawJs::make('$money($input, '.', ',', 4))')) ->stripCharacters(',') ->prefix('$'), Thanks!
1 Reply
Booltje124
Booltje124OP10mo ago
Bump
Want results from more Discord servers?
Add your server