-
Type: Bug
-
Status: Resolved
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: 3.0.1
-
Component/s: UI
-
Sprint:YO LETS DO THIS MAYBE, UI - 2020-11/12
Add a {{<nuxeo-path-suggestion>}} element to a doctype edit layout. Click “Save” and get the following error:
nuxeo-app.html-145.js:373 Uncaught TypeError: this.inputElement.validate is not a functionat HTMLElement.validate (nuxeo-app.html-145.js:373)at HTMLElement.validate (nuxeo-app.html-55.js:71)at HTMLElement.validate (elements.html-72.js:39)at HTMLElement._validate (elements.html-73.js:27)at HTMLElement.save (elements.html-73.js:56)at HTMLElement.handler (nuxeo-app.html-12.js:79)at Object._fire (nuxeo-app.html-17.js:674)at Object.forward (nuxeo-app.html-17.js:1069)at Object.click (nuxeo-app.html-17.js:1032)at HTMLElement._handleNative (nuxeo-app.html-17.js:452)
where this.inputElement.validate appears to defined in Polymer.PaperInputBehavior which is referenced by the <paper-typeahead> element in <nuxeo-path-suggestion>. The this.inputElement is <input id="input" autocorrect$="on" autocomplete="off" placeholder="" autocapitalize="none"> which apparently has no validate() method.
A possible workaround could be to create a local validate function on the <nuxeo-path-suggestion> element.
- is duplicated by
-
ELEMENTS-1290 Fix <nuxeo-path-suggestion> validation when used in Drawer Item Search
- Resolved
-
ELEMENTS-1292 Fix deleted documents search
- Resolved
- is related to
-
ELEMENTS-1305 Fix nuxeo-path-suggestion validation
- Resolved
-
WEBUI-64 Allow form validation on search forms
- Resolved
-
ELEMENTS-1299 Backport fix for nuxeo-path-suggestion validation error on paper-typeahead
- Resolved
-
ELEMENTS-1312 Fix nuxeo-path-suggestion displaying as invalid on initial input
- Resolved
-
ELEMENTS-1329 nuxeo-path-suggestion is marked as invalid in the first display
- Resolved
- Is referenced in