You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Am I missing something or doing something wrong? The handlebars braces are being read just fine as it's replacing the template with the value, it's just not converting the value to title case
The text was updated successfully, but these errors were encountered:
I'm also having issues with titleCase.
Did a quick test with variable name set to "test-foo-bar": {{name}} {{pascalCase name}} {{titleCase name}}
outputs: test-foo-bar TestFooBar Test-Foo-Bar
I would expect {{titleCase name}} to output: "Test Foo Bar"
I have a line of code in an hbs helper:
<WindowHeader onClose={onClose} title='{{titleCase name}}' />
When I run a plop command and
name
is set tosomeName
, all of the kebab and pascal casing conversions work fine, but the titleCase one does nothing.The output is:
<WindowHeader onClose={onClose} title='someName' />
Am I missing something or doing something wrong? The handlebars braces are being read just fine as it's replacing the template with the value, it's just not converting the value to title case
The text was updated successfully, but these errors were encountered: