@progressive-development/pd-forms 0.1.15 → 0.1.16

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "description": "Webcomponent pd-forms following open-wc recommendations",
4
4
  "license": "SEE LICENSE IN LICENSE",
5
5
  "author": "PD Progressive Development",
6
- "version": "0.1.15",
6
+ "version": "0.1.16",
7
7
  "main": "index.js",
8
8
  "module": "index.js",
9
9
  "scripts": {
@@ -103,9 +103,6 @@ export class PdFormContainer extends PdBaseUI {
103
103
  // validate required fields TODO: Auf PdInputxxx beschränken
104
104
  reqEl.forEach(el => {
105
105
  const tmpEl = el;
106
-
107
- console.log("Check EL: ", el._inputType, el.value);
108
-
109
106
  if (!el.value || el.value === "" || el.value === "false" ||
110
107
  (el._inputType === INPUT_TYPE_RANGE && el.value === '0')) {
111
108
  const erMsg = el.requiredMsg || msg('Eingabe erforderlich',{desc: '#pd.form.field.required#'});
package/src/PdRange.js CHANGED
@@ -211,6 +211,7 @@ export class PdRange extends PdBaseUIInput {
211
211
  ?disabled="${this.disabled}"
212
212
  min="0" max="${this.max}" step="1"
213
213
  @change="${this._onChange}"
214
+ @input="${this._onChange}"
214
215
  />
215
216
  </div>
216
217
  ${this._renderErrorMsg()}