Skip to content

[4.0] Move a subform template out of the form scope, for IE compatibility.#24944

Closed
Fedik wants to merge 5 commits intojoomla:4.0-devfrom
Fedik:subform-ie-fix
Closed

[4.0] Move a subform template out of the form scope, for IE compatibility.#24944
Fedik wants to merge 5 commits intojoomla:4.0-devfrom
Fedik:subform-ie-fix

Conversation

@Fedik
Copy link
Copy Markdown
Member

@Fedik Fedik commented May 18, 2019

Pull Request for Issue #24832 for Joomla 4.0 version

This fix the subform field in IE, when one of subfield are required.

Testing Instructions

before test run npm install
Please look for related issue for details.

@joomla-cms-bot joomla-cms-bot added NPM Resource Changed This Pull Request can't be tested by Patchtester PR-4.0-dev labels May 18, 2019
document.body.append(tmplElement[0]);
}

this.templateElement = tmplElement[0];
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Use array destructuring prefer-destructuring

@Quy
Copy link
Copy Markdown
Contributor

Quy commented May 19, 2019

SCRIPT438: Object doesn't support property or method 'append'
webcomponents-sd-ce-pf.min.js (1,56047)

Related issue #23822

@C-Lodder
Copy link
Copy Markdown
Member

https://github.com/joomla/joomla-cms/blob/4.0-dev/build/media_source/system/js/fields/joomla-field-subform.w-c.es6.js#L191

This should be appendChild(), as append() is still experimental

@Fedik
Copy link
Copy Markdown
Member Author

Fedik commented May 20, 2019

@C-Lodder yeah, you are right, thanks, I will change

@brianteeman
Copy link
Copy Markdown
Contributor

This PR can probably be closed as the production department have decided to adopt a browser support policy of PROD2019/005 - Change minimum version requirements for all browsers to n-2 and drop support for Internet Explorer. https://volunteers.joomla.org/departments/production/reports/1031-production-dept-meeting-may-28-2019

@Fedik
Copy link
Copy Markdown
Member Author

Fedik commented Jun 11, 2019

yeah

@Fedik Fedik closed this Jun 11, 2019
@Fedik Fedik deleted the subform-ie-fix branch June 11, 2019 16:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

NPM Resource Changed This Pull Request can't be tested by Patchtester

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants