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

Adds disabled="true" to force your render separate from other attributes | Fixes #522 #561

Merged
merged 4 commits into from
Feb 15, 2018

Conversation

matuzalemsteles
Copy link
Member

This can fix issue #522, forcing the attribute to be rendered separate from others. We still have to investigate why this happens only in TagLibs.

@@ -164,7 +164,7 @@
{/if}

{if $disabled}
disabled
disabled="true"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

According to disabled docs this should be disabled="disabled".

Source: https://developer.mozilla.org/en-US/docs/Mozilla/Tech/XUL/Attribute/disabled

Thx!

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This makes more sense now. Thanks @carloslancha.

@carloslancha carloslancha merged commit d183409 into liferay:develop Feb 15, 2018
@carloslancha
Copy link
Contributor

Merged, thx!

@matuzalemsteles matuzalemsteles deleted the issue-522 branch February 15, 2018 17:05
@yuchi
Copy link

yuchi commented Feb 15, 2018

Could the renderer being outputting XHTML/HTML 4? Boolean props are relatively new AFAI remember.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants