Customize RawJs mask input field

Hi all . I have an question . I need to set my TextInput with some format . Im still new in filament . So i dont know how to set in coding much especially about js.
Below is my code :

TextInput::make(longtitute)
->required()
->mask(RawJs::make('$money($input)'))
->stripCharacters(',')

My goal is i want to set this field start with format like 00.0000 and max input they can insert is 180.0000 . How to apply that? Anyone can help me ? Thanks
Was this page helpful?