-
Notifications
You must be signed in to change notification settings - Fork 2
Closed
Description
Short description of the issue
Hi @ryancramerdesign
In this commit, you have introduced the addClassString method which is an overall cool thing. It looks like the initial intention of this method is to add easier customization of forms output on the front end, but it's not possible to use it with Tailwind responsive classes that are using a colon in responsive classes like p-0 md:p-2 lg:p-4. So while it's on the dev branch it would be great to get resolved this issue.
Expected behavior
$inputfield->addClass('bg-red-yellow lg:bg-red-400');
This code should add two classes bg-red-yellow
and lg:bg-red-400
Actual behavior
$inputfield->addClass('bg-yellow lg:bg-red-400');
This code adds one class bg-red-yellow
Setup/Environment
- ProcessWire version: 3.0.206
ivangretsky and teppokoivula