Expecto Patronum
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
2 replies
Create Page View And Edit Only?
Hi . I want to create. Profile . I have see so many questions about profile that need to create custom page and all that but it seems not what i want to archive after all.
I want to have a profile that can display data through infolist and have relation manager ( if possible). And edit Page with contains wizard to edit data . Only 2 page that i need .
Is that possible to archive like this? Do i need to create resource like usual , Delete page of create and list ? Or still need to do custom seperate page after all?
3 replies
Widget in Relation Manager
From my understanding is that we can create a widget and register in the ListPage as normal way . I just wondering that can we add widget in relation manager file ? I try to implement the the concept as ListPage but it didn’t work . Any ideas ?
2 replies
getPageTableQuery() function on Simple Resource.
Hi all, i have a question . currrently im using simple resource in my project. i wanted to use getPageTableQuery() function on widget and set into managePage. but i realize its only apply on normal resource means the ListPage. is there any way to apply the same concept on ManagePage?
when i registered the widget on ManagePage. i received error as in the picture i provided . any ideas ?
2 replies