Closed jouniikaheimo closed 3 years ago
You can check this (https://github.com/orchidsoftware/crud/blob/efe8f93a3422d46614d650a1617b75b2dd95fb5f/src/Screens/CreateScreen.php#L34) you can add any button in commandbar method.
@mucan54 Yes i know i can add any button in screen... but how i can add custom button in crud resource file... i test if i add commandBar() function in created resource file that not working...
Hey @jouniikaheimo, this is not yet available for CRUD. I am working on it
Hey @tabuna i don't know if this is a good idea, but would it be how hard to do an override the same way a model is set example:
public static $editScreen = EditScreen::class;
public static $listScreen = listScreen::class;
public static $createScreen = createScreen::class;
if not set use automatic default screen this make lot off new feature what can use in screen but fast make crud ??
This is available through actions: https://github.com/orchidsoftware/crud#actions
Hi i try to find in Orchid\Crud\Resource.php how i can add custom button in commandBar?