Comments (1)
Hi, I just want to add some informations ;)
there is actually a plan to introduce the concept of required
properties like
type: string
required: true
neos/neos-development-collection#4304
this was intended as replacement for NotEmptyValidator and would be enforced directly by the content repository. That would also mean, that your proposed hidden logic could not be accounted for that low level.
My point is I actually want to move away from this super soft validaton (which is currently only triggered by the ui, and invisible to the cr) to a much stricter enforcement. And I’m not sure that these validators are the future and if we should introduce concepts like this to make nodes less strict.
(Our conditional hidden properties are a thorn in my eyes in general- even if I very much like them and use them - imagine your php model which is called ‚Thing‘ which has a lot of properties and it’s implicitly known that when x is set to bar that y must be also set … such models are not fun to work with and don’t tell from the best architecture, but in nodes we might not always have better options)
Edit: for now you might be able to implement a custom ValidateIfNotHidden validator or something;)
from neos-ui.
Related Issues (20)
- sh: 1: neos-react-scripts: not found
- BUG: Click outside of the node creation dialog closes the dialog HOT 25
- !!! TASK: Remove plugin views HOT 3
- TASK: Dev experience fail if e2e tests are executed without `build-e2e-testing` HOT 2
- Make Neos 9.0 E2E test work ;) HOT 1
- TASK: E2E Testing cleanup
- TASK: Dont bundle CKeditor GUI Plugins
- FEATURE: Proper inline mode (`autoparagraph "false"`) HOT 1
- EPIC: E2E Tests for Neos 9.0
- BUG: Document and Content tree not resizable on safari HOT 1
- 8.3.0 -> 8.3.1 breaks CKE placeholder functionality for elements without autoParagraph HOT 2
- E2E Flaky Tests ` Discarding: delete a content node and then discard deletion` HOT 1
- Value 0 is not possible anymore on Range Slider
- TASK: Allow node v16 for 7.3...8.1 HOT 7
- re-write NodeTemplates // extend API
- Inline Placeholder is broken if autoparagraph is false HOT 1
- BUG: Neos UI crashes after applying references with `Neos.NodeTypes.ContentReferences:ContentReferences` HOT 11
- BUG: Popup closing when releasing the mouse outside
- BUG: Can't escape the creation dialog without clicking the back button HOT 1
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 neos-ui.