Skip to content
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

Nova Form Card Package #71

Open
dillingham opened this issue Apr 18, 2019 · 0 comments

Comments

Projects
None yet
1 participant
@dillingham
Copy link
Collaborator

commented Apr 18, 2019

new FormCard([
    'title' => 'Add Meeting Log',
    'route' => '/some-route-to-ajax-post-to',
    'fields' => [
        BelongsTo::make('Contact')
        DateTime::make('When')
        Textarea::make('Note'),
    ]
]),

because its a card, it can go in the cards() section of a resource
or as a resource tool because they extend card
which would allow forms on detail views

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.