Skip to content

Fixes #14 Conditionally required field enforced at save #21

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 5 commits into from
Mar 16, 2022

Conversation

yorkshire-pudding
Copy link
Contributor

Fixes #14

Apply patch from D7 issue mentioned comment #209

In my limited testing (boolean checkbox changing visibility and required status of link field), this fixed as long as I worked with the value of boolean field rather than the status of checked.

I suggest this may be good enough.

Apply patch from D7 issue mentioned comment #209
@yorkshire-pudding yorkshire-pudding requested a review from laryn March 14, 2022 20:31
@laryn
Copy link
Member

laryn commented Mar 15, 2022

@yorkshire-pudding
I haven't had a chance to do a full review but it looks like you are adding back some code that had been removed (e.g. Features-related) and removing some code that had been added (a module_includes that I'm trying to remember why it was needed). Can you make sure the PR only changes things directly related to the patch for this issue? If those other things are also issues please open a separate issue for them.

@yorkshire-pudding
Copy link
Contributor Author

yorkshire-pudding commented Mar 15, 2022

@laryn
I don't understand how that could have happened. I cloned your repo, downloaded the patch from Drupal and then manually applied all the individual patch items by copying and pasting. I don't understand git enough to know I could possibly have introduced anything that wasn't in the patch as that is all I did.

@yorkshire-pudding
Copy link
Contributor Author

@laryn - I think I've reverted those changes

@laryn laryn merged commit feabf85 into backdrop-contrib:1.x-3.x Mar 16, 2022
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.

Conditionally required fields are not enforced at save
2 participants