-
Notifications
You must be signed in to change notification settings - Fork 34
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Feature] HTML Field #280
Comments
I haven't tired this but I think this is achievable (for now until this feature to be implemented) by creating a custom field |
yeah its possible but I don't want to create custom fields for just simple fields. |
Working on this today. Might just make it into the next release. You'd be able to do something like this: Text::make('Custom Link', function () {
return view('custom-link', [
'url' => url('/view-profile'),
'name' => $this->name,
])->render();
})->asHtml(), |
I have made a custom HTML field for anyone that needs: https://github.com/treeStoneIT/nova-html |
Your solution is the best David, since it will give us full flexibility to render any HTML we want via a view :) happy to see it on the next Nova version 👍🏻 |
Version 1.0.9 has this covered
|
Alrighty, closing since this just got released. Thanks for the help everyone! |
A field type where you can return your own html so you can display images, links, status labels with your color etc.
The text was updated successfully, but these errors were encountered: