Dynamic mask input is not dynamic

Hey working with the text field and putting it a dynamic mask for money as shown below, tho the mask is not dynamic at all, I can write whatever I want in that field and only once I leave focus the field will update to the mask Is there anything I'm missing on dynamic masks ? my reference is the doc of Alpine on dynamic masks and it works like a charm there but I can't figure out why it's not in my Filament
Forms\Components\TextInput::make('price')
->columnSpan(['default' => 2])
->placeholder('0.00')
->mask(RawJs::make(<<<'JS'
$money($input, '.', ' ')
JS))
->numeric()
->inputMode('decimal')
->required()
Forms\Components\TextInput::make('price')
->columnSpan(['default' => 2])
->placeholder('0.00')
->mask(RawJs::make(<<<'JS'
$money($input, '.', ' ')
JS))
->numeric()
->inputMode('decimal')
->required()
0 Replies
No replies yetBe the first to reply to this messageJoin