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
It would be awesome to be able to ->disablePreview() on a Markdown field, since it doesn't work in all scenarios.
Why
I'm using a Markdown field within an action. The field is used to require a "Reason" for the action being executed and the field isn't actually attached to my resource. As a result, when the markdown field's "Preview" option is used, the ajax request (which is sent to https://my-site.com/nova-api/[RESOURCE]/field/[FIELD]/preview?editing=true&editMode=create) ends up with a 404 error. I understand it relies on this resource because action fields associated with a resource need to be scoped to the resource the action is being performed on, which is why I think simply disabling the preview might be the better option.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
The Ask
It would be awesome to be able to
->disablePreview()on a Markdown field, since it doesn't work in all scenarios.Why
I'm using a Markdown field within an action. The field is used to require a "Reason" for the action being executed and the field isn't actually attached to my resource. As a result, when the markdown field's "Preview" option is used, the ajax request (which is sent to
https://my-site.com/nova-api/[RESOURCE]/field/[FIELD]/preview?editing=true&editMode=create) ends up with a 404 error. I understand it relies on this resource because action fields associated with a resource need to be scoped to the resource the action is being performed on, which is why I think simply disabling the preview might be the better option.Beta Was this translation helpful? Give feedback.
All reactions