I am trying to use the "display" option of the JSON that goes in the "Optional Details" of the Edit Bread Menu, but it doesn't seem to have the expected effect.
To show the problem, I have created a new project and perfomed those steps:
First, I have created a table:
Then, I have added a BREAD to the table and setted the display option:
Here I am browsing the table when it was still empty, after adding the BREAD.
Since it was empty, I have added a generic information to the field.
After adding this information, it is possible to see that the "custom_id" was not added to the div wraper of the element as it should according to the documentation. Also, the field does not occupy 25% of the 12-grid-system as it should with "width": "3".
Expected behavior
The correct behavior is to have a div with the id equal to "custom_id" at the end of the steps. Also,, the field should occupy 25% of the 12-grid system.
Laravel version
8.54
PHP version
PHP 7.3.28
Voyager version
1.5
Database
Ver 15.1 Distrib 10.4.19-MariaDB
Description
I am trying to use the "display" option of the JSON that goes in the "Optional Details" of the Edit Bread Menu, but it doesn't seem to have the expected effect.
Steps to reproduce
I followed the documentation in this part: https://voyager-docs.devdojo.com/bread/introduction-1.
To show the problem, I have created a new project and perfomed those steps:
First, I have created a table:
Then, I have added a BREAD to the table and setted the display option:
Here I am browsing the table when it was still empty, after adding the BREAD.
Since it was empty, I have added a generic information to the field.
After adding this information, it is possible to see that the "custom_id" was not added to the div wraper of the element as it should according to the documentation. Also, the field does not occupy 25% of the 12-grid-system as it should with "width": "3".
Expected behavior
The correct behavior is to have a div with the id equal to "custom_id" at the end of the steps. Also,, the field should occupy 25% of the 12-grid system.
Additional context
No response