Comments (2)
So what exactly is the issue here? If you have a condition saying "hide the field if not null
" and then you start typing in it... well then it is no longer null
and will get hidden.
From the description this condition is doing exactly what you've configured.
PS. be aware that "conditions" are a browser/visual only feature it is not the same as validation on the API.
from directus.
This behavior is expected, since the conditions are dynamic and evaluated on the current item values. Otherwise dynamically modifying interfaces based on the current edits would not be possible.
Since you require the slug to be set on creation you can probably get away by using an AND
group in your condition and check if the primary key is not null
in addition to the slug value, since that is an indicator that it is a new item.
from directus.
Related Issues (20)
- EXTENSIONS_AUTO_RELOAD feature does not work in Docker Container HOT 1
- Migration from 10.10.5 to 10.12.1 fails HOT 1
- Can't upload large files with S3 storage driver HOT 8
- Invalid foreign key on One-to-Many fields
- Many-to-Many (m2m) fields to not render translations properly without saving
- Include image extension when uploading images in preview URL & WYSIWYG content.
- Import of a JSON File with approx. 30.000 rows -> Failure Message "This file´s data structure does not match the collection." But after 1-2 hours datas are correctly imported.
- Updating Directus Version from 10.8 to 10.12 HOT 7
- Incorrect types infered for M2O/M2M relations in SDK for query filter
- Records with custom permission are not available in the API. HOT 2
- Numeric Fields for Labels Display - Configuration type problem
- Flows logs are not shown in flow sidebar HOT 1
- Flows - unable to use id/key in payload from Read Data operation HOT 1
- SDK type error on readItems when using 'datetime' literal HOT 3
- Make flow names & descriptions translatable
- The s3 file health-xxxxx generated by the health check was not cleared successfully HOT 3
- `items.read` doesn't seem to trigger every time HOT 1
- Some operations are missing when querying via `/operations` endpoint HOT 1
- Multiple API Calls Triggered on Typing in Any Field HOT 1
- Schema import issue: `A primary key should not be a foreign key`
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 directus.