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

HTMLFormElement.addClass: Improve removal of duplicates. #115

Merged
merged 1 commit into from
Jul 17, 2023

Conversation

thet
Copy link
Member

@thet thet commented Jul 14, 2023

It's now possible to add multiple classes as whitespace separated string and still detect class duplicates.

Note: this introduces also typehinting on the addClass method. But we're on Python 3.7+ and that should be ok...

It's now possible to add multiple classes as whitespace separated string and
still detect class duplicates.
@icemac icemac merged commit eaec291 into master Jul 17, 2023
12 checks passed
@icemac icemac deleted the addclass-improvement branch July 17, 2023 05:50
@icemac
Copy link
Member

icemac commented Jul 17, 2023

I just released https://pypi.org/project/z3c.form/5.0/ containing this PR.

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.

3 participants