Comments (3)
caused by: createObjectWizard/template.vue, line 169:
return this.$refs.nameTab.validate()
returns false.
This file defines validator: this.nameAvailable
, which I would expect to bind validator() to this.nameAvailable, but isn't in this case; it's running the vue-form-generator validator() method instead. This can be found lines 158-197 here: https://github.com/vue-generators/vue-form-generator/blob/master/src/formGenerator.vue
Based on the source I was able to step through the minified version of the code (not recommended), and here's the fields and results objects:
So it appears to be validating on a bunch of fields that are either hidden or in memory from some other module. Will keep on investigating.
(Note: we recently updated vue-form-generator, checking the version notes to see if there were any validation changes would be a good place to start)
from peregrine-cms.
This page has two forms, one which has what we expect, and the other which has a bunch of nonsense that is causing the validator to fail:
This additional forms which is stopping the validator from passing is attached to the "tabPanel" and is currently hidden:
Continuing to investigate.
from peregrine-cms.
So it looks like createObject is trying to validate the "name" and "verify" steps at the same time...ooh, because they both have the same attribute value for vue-form-generator -> ref. Fixing.
from peregrine-cms.
Related Issues (20)
- Add support for Peregrine's Sling Model based on JSon Schemas HOT 1
- Add Support for GraphQL and a GraphiQL client
- how to delete objectDifinition go to the Recyclebin display the deleted objectdifinition file? HOT 1
- Fix the broken Actions tab on the Object's right panel HOT 3
- Make the Tags based on Object Definition HOT 1
- Use ui-schema.json to render the objects
- Site Setup Replication breaks editing in local replication mode
- Locally replicated page is blank when rendered under /live
- It's possible to replicate a page without the referenced new image in `remote` mode HOT 2
- Tie the globe icon button to the same action as 'Publish to Web'
- Block 'unpublish' and 'delete' actions on referenced items HOT 4
- Login does not work for certain paths HOT 8
- unpublish an item that was never published throws a client side exception
- evaluate if the icon edit functionality in the rich text editor can use a web component HOT 4
- Remove self-reference from references list
- Remove cross-tenant publishing display in modal window
- `<peregrine-icon>` is not removable with backspace/delete key
- `<pathbrowser>` in `<collection>` no showing (first time)
- references initial state issues
- Swagger editor update
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from peregrine-cms.