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

Auto add fields from Content Type in method New #18

Merged
merged 1 commit into from
Apr 16, 2021
Merged

Auto add fields from Content Type in method New #18

merged 1 commit into from
Apr 16, 2021

Conversation

jurjenvn
Copy link
Contributor

$content->setFieldValue('dob', '')seemed out of place in method New.
Instead I added code to loop through the fields from the given Content Type and have these fields added automatically.

$content->setFieldValue('dob', '')seemed out of place in method New.
Instead I added code to loop through the fields from the given Content Type and have these fields added automatically.
@I-Valchev
Copy link
Member

Hi @jurjenvn , thanks a lot for fixing this! Merging this straightaway, I'll tag a new release so you can use it immediately :-)

@I-Valchev I-Valchev merged commit 25d057c into bolt:master Apr 16, 2021
@jurjenvn jurjenvn deleted the patch-1 branch April 16, 2021 08:42
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.

2 participants