You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a pivot table with a text area, so users can add notes to a relation in markdown, but the markdown preview doesn't work when i attach a attachment in Nova.
When I create an extra markdown field on the ralated resource the preview will work again. Problem is i also have to do this on the other side of the relation, defining the markdown field 3 times.
The url rendering the error looks as follow, you can see the preview is requesting to the Tenants.php and not to the SystemFields.php so it cannot render the preview.
// Tenants.php resource field definition
BelongsToMany::make('Systems')
->fields(newSystemFields)
// Workaround to get the pivot table field working
Markdown::make('Notes')
->onlyOnIndex()
->hideFromIndex(),
Reproduce step is not clear, please provide a full reproducing repository based on fresh installation as suggested in the bug report template (or you can refer to https://github.com/nova-issues for example)
Description:
I have a pivot table with a text area, so users can add notes to a relation in markdown, but the markdown preview doesn't work when i attach a attachment in Nova.
When I create an extra markdown field on the ralated resource the preview will work again. Problem is i also have to do this on the other side of the relation, defining the markdown field 3 times.
The url rendering the error looks as follow, you can see the preview is requesting to the
Tenants.php
and not to theSystemFields.php
so it cannot render the preview./nova-api/tenants/field/comment/preview?editing=true&editMode=update
Detailed steps to reproduce the issue on a fresh Nova installation:
Create a pivot table with text area, and define a markdown field in the BelongToMany fields.
The text was updated successfully, but these errors were encountered: