avalynx-form 1.0.1 → 1.0.2
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/README.md +1 -1
- package/dist/js/avalynx-form.esm.js +4 -1
- package/dist/js/avalynx-form.js +4 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -42,7 +42,7 @@ Replace `path/to/avalynx-form.js` with the actual path to the file in your proje
|
|
|
42
42
|
AvalynxForm is also available via [jsDelivr](https://www.jsdelivr.com/). You can include it in your project like this:
|
|
43
43
|
|
|
44
44
|
```html
|
|
45
|
-
<script src="https://cdn.jsdelivr.net/npm/avalynx-form@1.0.
|
|
45
|
+
<script src="https://cdn.jsdelivr.net/npm/avalynx-form@1.0.2/dist/js/avalynx-form.js"></script>
|
|
46
46
|
```
|
|
47
47
|
|
|
48
48
|
Make sure to also include Bootstrap's JS/CSS in your project to ensure AvalynxForm displays correctly.
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*
|
|
4
4
|
* AvalynxForm is a lightweight, customizable form handling library for web applications. Based on Bootstrap >=5.3 without any framework dependencies.
|
|
5
5
|
*
|
|
6
|
-
* @version 1.0.
|
|
6
|
+
* @version 1.0.2
|
|
7
7
|
* @license MIT
|
|
8
8
|
* @author https://github.com/avalynx/avalynx-datatable/graphs/contributors
|
|
9
9
|
* @website https://github.com/avalynx/
|
|
@@ -28,6 +28,9 @@ export class AvalynxForm {
|
|
|
28
28
|
console.error("AvalynxForm: Element with id '" + id + "' not found");
|
|
29
29
|
return;
|
|
30
30
|
}
|
|
31
|
+
if (options === null || typeof options !== 'object') {
|
|
32
|
+
options = {};
|
|
33
|
+
}
|
|
31
34
|
this.id = id;
|
|
32
35
|
this.options = {
|
|
33
36
|
apiParams: {},
|
package/dist/js/avalynx-form.js
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*
|
|
4
4
|
* AvalynxForm is a lightweight, customizable form handling library for web applications. Based on Bootstrap >=5.3 without any framework dependencies.
|
|
5
5
|
*
|
|
6
|
-
* @version 1.0.
|
|
6
|
+
* @version 1.0.2
|
|
7
7
|
* @license MIT
|
|
8
8
|
* @author https://github.com/avalynx/avalynx-datatable/graphs/contributors
|
|
9
9
|
* @website https://github.com/avalynx/
|
|
@@ -26,6 +26,9 @@ class AvalynxForm {
|
|
|
26
26
|
console.error("AvalynxForm: Element with id '" + id + "' not found");
|
|
27
27
|
return;
|
|
28
28
|
}
|
|
29
|
+
if (options === null || typeof options !== 'object') {
|
|
30
|
+
options = {};
|
|
31
|
+
}
|
|
29
32
|
this.id = id;
|
|
30
33
|
this.options = {
|
|
31
34
|
apiParams: {},
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "avalynx-form",
|
|
3
3
|
"title": "AvalynxForm",
|
|
4
4
|
"description": "AvalynxForm is a lightweight, customizable form handling library for web applications. Based on Bootstrap >=5.3 without any framework dependencies.",
|
|
5
|
-
"version": "1.0.
|
|
5
|
+
"version": "1.0.2",
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"main": "dist/js/avalynx-form.js",
|
|
8
8
|
"module": "dist/js/avalynx-form.esm.js",
|