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

Bug Fix: InputfieldPageAutocomplete.js can't trigger a requiredIf #274

Open
wants to merge 1 commit into
base: dev
Choose a base branch
from

Conversation

hiboudev
Copy link
Contributor

In InputfieldPageAutocomplete.js, value always start with a comma, so inputfields.js->inputfieldChange() doesn't parse it correctly. So other fields that depends on it by a requiredIf are never updated.

ryancramerdesign added a commit that referenced this pull request Jan 4, 2024
…ssues#1855 in InputfieldPageAutocomplete.js

Co-authored-by: hiboudev <hiboudev@gmail.com>
@ryancramerdesign
Copy link
Member

Thanks @hiboudev I've added your PR. Keep an eye out for issues just in case, as I recall there at least used to be a reason for the leading comma. But am not sure if it is still the case, or if I'm maybe confusing with another module, as I couldn't find anything in InputfieldPageAutocomplete that was relying upon a leading comma yet.

@hiboudev
Copy link
Contributor Author

hiboudev commented Jan 4, 2024

@ryancramerdesign Thanks. I'm using this fix since months and didn't see any issue so far.

@ryancramerdesign ryancramerdesign added the completed PR has been successfully added and this may be closed when ready. label Feb 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
completed PR has been successfully added and this may be closed when ready.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants