mirror of
https://github.com/filamentphp/filament.git
synced 2026-09-24 15:42:09 +08:00
Update 02-text-input.md
This commit is contained in:
@@ -191,7 +191,7 @@ use Filament\Forms\Components\TextInput;
|
||||
use Filament\Support\RawJs;
|
||||
|
||||
TextInput::make('amount')
|
||||
->mask(RawJs::make("\$money(\$input)"))
|
||||
->mask(RawJs::make('$money($input)'))
|
||||
->stripCharacters(',')
|
||||
->numeric()
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user