Closed PawelSuwinski closed 1 year ago
Great!
If you find some motivation/time, it would be great to add integration tests for the CreateGuesser
and EditGuesser
components too.
If you find some motivation/time, it would be great to add integration tests for the
CreateGuesser
andEditGuesser
components too.
Done, I added tests for Create/EditGuesser regarding this improvement (tabbed form). Closely based on ShowGuesser tests.
Thank you @PawelSuwinski!
Extension that allows to use TabbedForm and TabbedShowLayout in place of SimpleForm and SimpleShowLayout. Based on presence of tabbed element (FormTab / Tab) appropriate type of form or show layout is choosen by guesser.
https://marmelab.com/react-admin/doc/4.0/TabbedForm.html https://marmelab.com/react-admin/doc/4.0/TabbedShowLayout.html
For example:
Test case provided for ShowGuesser for that moment.