Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Repeated attribute tag has inconsistent target property name #1571

Open
cynthiahhc opened this issue May 12, 2020 · 0 comments
Open

Repeated attribute tag has inconsistent target property name #1571

cynthiahhc opened this issue May 12, 2020 · 0 comments
Labels
type:unverified bug A bug report that has not been verified

Comments

@cynthiahhc
Copy link

cynthiahhc commented May 12, 2020

Marko Version: 4.21.6

Details

For the <option-description> , it is supposed to be optionDescription as an input after compiling. However, it is showing as option-description. It compiled correctly if <option-description> removed the tag

If I put <option-description> under <for> to loop through all the description, it would show option-description as an input. However, if I removed <for> and typed out <option-description> one by one, the input will be optionDescription which can be rendered correctly.

{
        "@option-content <option-content>[]": {
            "@option-key": "string"
        },
        "@option-description <option-description>[]": {
            "@option-key": "string"
        }
}

Expected Behavior

It should compile to the same input name no matter if there is a <for> wrapped around it.

Actual Behavior

It compiles different under <for>

Additional Info

Your Environment

@cynthiahhc cynthiahhc added the type:unverified bug A bug report that has not been verified label May 12, 2020
@DylanPiercey DylanPiercey changed the title Named body content not rendered correctly Repeated attribute tag has inconsistent target property name May 18, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type:unverified bug A bug report that has not been verified
Projects
None yet
Development

No branches or pull requests

1 participant