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

Added id in buildProfileForm attributes #25

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

Conversation

justojo
Copy link

@justojo justojo commented Sep 25, 2019

After hooking a checkbox field render (to conform to a bootstrap v4.3x checkbox component), I was wondering why it was working for the Register form but not the Profile form.

I then noticed the difference between them in their respective build*Form methods:

$inputfield->attr('name', 'profile_' . $inputfield->attr('name'));
vs
$inputfield->attr('id+name', 'register_' . $inputfield->attr('name'));

Kindly add the id+ in the Profile buildProfileForm. I'm sure it was just an unintended omission.

Thanks much.

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