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

react-stepzilla

Package Overview
Dependencies
Maintainers
1
Versions
45
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-stepzilla - npm Package Compare versions

Comparing version 1.5.0 to 1.6.0

7

dist/main.js

@@ -102,3 +102,5 @@ 'use strict';

if (evt.which === 13) {
this._next();
if (!this.props.preventEnterSubmission) {
this._next();
}
}

@@ -235,3 +237,4 @@ }

prevBtnOnLastStep: true,
dontValidate: false
dontValidate: false,
preventEnterSubmission: false
};
{
"name": "react-stepzilla",
"version": "1.5.0",
"version": "1.6.0",
"description": "A react multi-step, wizard component for managing data collection via forms and sub components",

@@ -5,0 +5,0 @@ "main": "./dist/main.js",

@@ -55,2 +55,5 @@ # react stepzilla

// by default if you hit the Enter key on any element it validates the form and moves to next step if validation passes. Use this to prevent this behaviour
preventEnterSubmission: true | false
```

@@ -80,4 +83,6 @@

#### change log
- 1.6.0
- added preventEnterSubmission option to prevent moving to next step if enter is hit
- 1.5.0
- update to improve showSteps. prevent UI elements from completed rendering
- update to improve showSteps. prevent UI elements from completed rendering
- 1.4.0

@@ -84,0 +89,0 @@ - added the option showSteps which hides the top steps if needed

@@ -76,3 +76,5 @@ import React, { Component, PropTypes } from 'react';

if (evt.which === 13) {
this._next()
if (!this.props.preventEnterSubmission) {
this._next();
}
}

@@ -182,3 +184,4 @@ }

prevBtnOnLastStep: true,
dontValidate: false
dontValidate: false,
preventEnterSubmission: false
};
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