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

Fix controlled component class name guessing, fix processing of self-closing component attributes #496

Merged
merged 2 commits into from
Jan 15, 2025

Conversation

dgvirtual
Copy link
Collaborator

The component-name.php file names were not properly pascalized when guessing the controlled component class names (since pascalize() does not actually affect dashes, only spaces and underscores). Therefore this fix. Example app code at PR #482 depends on this fix, as it now includes an example controlled component.

@dgvirtual dgvirtual changed the title Fix controlled component class name guessing Fix controlled component class name guessing, pass attributes and $slot to component class Jan 10, 2025
@dgvirtual dgvirtual force-pushed the fix/controlled_component branch from 73771a1 to aa3464e Compare January 10, 2025 18:32
@dgvirtual dgvirtual changed the title Fix controlled component class name guessing, pass attributes and $slot to component class Fix controlled component class name guessing, fix processing of self-closing component attributes Jan 10, 2025
@dgvirtual dgvirtual merged commit b07d856 into lonnieezell:develop Jan 15, 2025
6 checks passed
@dgvirtual dgvirtual deleted the fix/controlled_component branch January 15, 2025 05:45
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