Skip to content

[Live] Simplify new form docs #922

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

Merged
merged 1 commit into from
Jun 2, 2023

Conversation

weaverryan
Copy link
Member

Q A
Bug fix? no
New feature? no
Tickets None
License MIT

I changed this section in the docs in 2.8, once it WAS legal to have non-persisted entities on a LiveProp. But I'm not sure why I did it this way. It's easier to default to null. The only caveat is that you should use $post = $this->getFormInstance()->getData(); to get the Post object instead of $this->post, but we already show that in the docs ( did fix one spot that didn't).

@weaverryan weaverryan force-pushed the live-simplify-new-form-docs branch from 0bfadbb to e94c03a Compare June 2, 2023 13:06
@weaverryan weaverryan merged commit 9d25cc9 into symfony:2.x Jun 2, 2023
@weaverryan weaverryan deleted the live-simplify-new-form-docs branch June 4, 2023 16:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant