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

Add addClass() method to Field class for easier class manipulation #2909

Merged

Conversation

iamarsenibragimov
Copy link
Contributor

Add addClass() method to Field class

This PR introduces a new addClass() method to the Field class. This method allows adding new classes to the existing ones without overwriting them.

Changes

  • Added addClass() method to Field class
  • Updated class documentation
  • Added unit tests for the new method
  • Updated CHANGELOG.md

Usage

$field->addClass('new-class');
$field->addClass(['class1', 'class2']);

- Implement addClass() method to add classes without overwriting existing ones
- Update class documentation to include new method
- Add unit tests for addClass() method
@tabuna tabuna merged commit f4b6bbe into orchidsoftware:master Oct 21, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants