Wykres commitów

4 Commity (c20f761c6704f085bace351bc10e9a15ecdd5ac6)

Autor SHA1 Wiadomość Data
LB 8751ac27eb CleanController - Add identity action
This allows the comparison to run and always return true
2025-04-23 06:49:11 +10:00
LB c010a1e5eb CleanController - Add event dispatching
- Dispatch events when a value is applied to a field
- use `:applied` and ensure the clean/source value is available + the action used to clean
2025-04-23 06:49:11 +10:00
LB 9fe605df16 CleanController - Make trim optional, refine methods
- Slugify/urlify had inconsistent trimming, allow these to be optional & centralised in the CleanController
- Ensure the controller can be easier to extend (for custom overrides)
- Add optional `trim` support so that this can be opted in to & is more consistent across slugify/urlify usage
- Avoid running slugify/urlify logic if the prepared value is empty
2025-04-23 06:49:11 +10:00
LB Johnston de8652114f Rename SlugController to CleanController
- Keeps the `w-slug` identifier for main Page SlugInput fields
- Sets up for future enhancements to this controller
- Clean up JSDoc & examples
2025-04-23 06:49:11 +10:00