Closed sjclark closed 2 months ago
Seems to work correctly the few others places I've checked;
I initially misunderstood what this issue was about. I thought you were talking about the brackets being converted to underscores. I also saw your currency problem. Both are fixed in #10538. Oh well, doesn't hurt to have them done.
We'll get to the real issue separately. 😊
Bug description
Statamics automagical creation of field
handle
's from Display Labels doesn't properly convert dashes to underscores, as required to pass Statamics own validation requirements.I feel like this behavior should be adjusted to underscorify any dash characters.
How to reproduce
json-ld
)Logs
No response
Environment
Installation
Fresh statamic/statamic site via CLI
Additional details
Just as a sidenote..... Statamic converts
$
tousd
, which is interesting (but not problematic) - curious that it does no conversion of any other non-numeric characters. 😄