patternfly-elements
patternfly-elements copied to clipboard
[fix] generator | npm run new wizard allows you to create attributes with spaces in them
I ran through npm run new and made my attributes loaded, endpoint, css and got pfe-loaded, pfe- endpoint and pfe- css at the end
@wesruv Great catch! I'll see if I can't work in a fix soon.
I think I found a related issue, thought I'd tack it on here. I have properties that have multiple words, so I used dash delimited and this was the output:

static get properties() {
return { login-link: {
title: "Login-link",
// Valid types are: String, Boolean, and Number
type: Boolean
}, logout-link: {
title: " logout-link",
// Valid types are: String, Boolean, and Number
type: Boolean
}, avatar-url: {
title: " avatar-url",
// Valid types are: String, Boolean, and Number
type: Boolean
}, full-name: {
title: " full-name",
// Valid types are: String, Boolean, and Number
type: Boolean
}};
}
Just to be more thorough, I know the space issue hasn't been addressed, but thought I'd capture it
