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

Conditional fields with key format #123

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

jembezmamy
Copy link

Hey, I've noticed that when you use first KeyFormat and then ConditionalFields, some conditions are ignored. This happens when formatted key differs from the original key and then its condition is not found in the conditions list.

Here I propose a solution to this problem: when registering condition block, I check if there is key formatting function and use it, if it was not already used. It's not very elegant but works :D

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