8000 Fixed the form validation to only care about input components for uni… by travist · Pull Request #554 · formio/formio · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Fixed the form validation to only care about input components for uni… #554

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Feb 27, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions Changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,14 @@ All notable changes to this project will be documented in this file
The format is based on [Keep a Changelog](http://keepachangelog.com/)
and this project adheres to [Semantic Versioning](http://semver.org/)

## 1.25.12
### Fixed
- The form component unique validation to only care about input components.

## 1.25.11
### Fixed
- Issues with the store as reference features.

## 1.25.10
### Fixed
- The filter and sort index queries for referenced fields.
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "formio",
"version": "1.25.11",
"version": "1.25.12",
"description": "The formio server application.",
"license": "SEE LICENSE IN LICENSE.txt",
"main": "index.js",
Expand Down
2 changes: 1 addition & 1 deletion src/models/Form.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ module.exports = (formio) => {
const componentPaths = (components) => {
const paths = [];
util.eachComponent(components, (component, path) => {
if (!_.isUndefined(component.key) && !_.isNull(component.key)) {
if (component.input && !_.isUndefined(component.key) && !_.isNull(component.key)) {
paths.push(path);
}
}, true);
Expand Down
0