Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@dreamworld/dw-form

Package Overview
Dependencies
Maintainers
4
Versions
67
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@dreamworld/dw-form - npm Package Compare versions

Comparing version 2.1.2-remove-element-at-specific-index.1 to 2.2.0

10

dw-composite-form-element.js

@@ -130,10 +130,8 @@ /**

_onUnregisterDwFormElement(e) {
let removeEl = e.composedPath()[0];
let elIndex = this._elements.indexOf(removeEl);
if (elIndex != -1) {
this._elements.splice(elIndex, 1);
let element = e.target;
if (this._elements.indexOf(element) != -1) {
this._elements.splice(element.index, 1);
}
this._unbindValueChangedEvents(element);
this._unbindValueChangedEvents(removeEl);
}

@@ -140,0 +138,0 @@

@@ -21,2 +21,3 @@ /**

display: block;
cursor: pointer;
--mdc-theme-text-primary-on-background: var(--mdc-theme-text-primary);

@@ -26,2 +27,3 @@ }

:host([disabled]) {
cursor: default;
pointer-events: none;

@@ -47,4 +49,9 @@ }

:host([disabled]) label {
cursor: default;
}
label{
min-height: var(--dw-form-field-label-min-height, auto);
cursor: pointer;
}

@@ -51,0 +58,0 @@ `

2

package.json
{
"name": "@dreamworld/dw-form",
"version": "2.1.2-remove-element-at-specific-index.1",
"version": "2.2.0",
"description": "",

@@ -5,0 +5,0 @@ "main": "dw-form.js",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc