@cocreate/users 1.7.26 → 1.7.27

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/CHANGELOG.md CHANGED
@@ -1,3 +1,10 @@
1
+ ## [1.7.27](https://github.com/CoCreate-app/CoCreate-users/compare/v1.7.26...v1.7.27) (2022-08-31)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * getValue and setValue using HTMLElement.prototype ([31a45bd](https://github.com/CoCreate-app/CoCreate-users/commit/31a45bd8f933f6e76e6320af9097f6f949cc3dad))
7
+
1
8
  ## [1.7.26](https://github.com/CoCreate-app/CoCreate-users/compare/v1.7.25...v1.7.26) (2022-08-23)
2
9
 
3
10
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cocreate/users",
3
- "version": "1.7.26",
3
+ "version": "1.7.27",
4
4
  "description": "A simple users component in vanilla javascript. Easily configured using HTML5 attributes and/or JavaScript API.",
5
5
  "keywords": [
6
6
  "users",
package/src/client.js CHANGED
@@ -265,7 +265,7 @@ const CoCreateUser = {
265
265
  //. get form data
266
266
  elements.forEach(el => {
267
267
  let name = el.getAttribute('name');
268
- let value = el.getValue(el) || el.getAttribute('value');
268
+ let value = el.getValue();
269
269
  if (!name || !value) return;
270
270
 
271
271
  if (el.getAttribute('data-type') == 'array') {