meteko/lowercase-pathsegment

Last activity on 2 February 2018
  • 70
composer require meteko/lowercase-pathsegment

1.0.0

Version
1.0.0
Type
neos-package
Release Date
22.02.2018 16:15:06
Source
git
Distribution
zip
Requires
Requires (dev)
None
Suggest
None
Provides
None
Conflicts
None
Replaces
None
0b412fae3c932dceceafde3325299ec80e1ee8cc

Lowercase URI Path Segment

Installation

composer require meteko/lowercase-pathsegment

What does it do

Via the signal/slot nodePropertychanged this package make sure the pathSegment (used for routing) is always lowercase.

Possible client side validation

It's also possible to make a client side validation "version" of this.

By changing the regular expression validation for Neos.Neos:Document to regularExpression: '/^[a-z0-9\-]+$' (removing the /i) you make it case-sensible.

This will make it impossible so Apply until there is no uppercase characters in the field (and therefore, passing the validation)

Support

Free support in the Neos Slack channel and bug/features via the Issues and Merge request feature ohere on Github!

A great thanks goes to

Thanks to danish scout organization Frivilligt Drenge- Og Pige-Forbund, FDF for sponsoring this work and releasing it, for you to use free of charge!

The content of the readme is provided by Github
The same vendor provides 6 package(s).