Comments (5)
I think for the time being I just do it with onPreSave
and check if it is undefined then set new Date()
.
from firecms.
Hi @shaniceweiwei, that was a bug, displaying the current date when it was not set.
In version 0.13.0 this is fixed and empty dates don't show up.
It probably makes sense to add some additional props to add custom behaviours, like initialise as the current date, or update on save. Ideas are welcome! 👍
from firecms.
Hi @shaniceweiwei, that was a bug, displaying the current date when it was not set.
In version 0.13.0 this is fixed and empty dates don't show up.
It probably makes sense to add some additional props to add custom behaviours, like initialise as the current date, or update on save. Ideas are welcome! 👍
Yes, maybe to have a config that allow us to preset Date() ?
By the way, is 0.13.0 released yet? :D
from firecms.
It is :)
https://www.npmjs.com/package/@camberi/firecms
I have added your request to a newly created backlog: https://github.com/Camberi/firecms/projects/1?add_cards_query=is%3Aopen
from firecms.
Regarding this ticket, you can set now the autoValue
flag to timestamp properties, so timestamps get updated with the server value on creation or update
from firecms.
Related Issues (20)
- Missing typings in data_enhancement HOT 2
- Feature Request for Map Array Field HOT 2
- Bundle size is huge HOT 1
- Disabling navigation drawer expansion HOT 3
- Access to entity on permissions builder (outdated docs)
- Getting errors with 2FA and Enterprise Recaptcha HOT 1
- Question: Does FireCMS support collection singletons
- Editing a an array of references in a side panel triggers the document to be updated twice.
- Prevent entity duplication in collection - Entity actions customization HOT 1
- Default value on array of maps properties
- Email login HOT 4
- Firebase users HOT 1
- Datas are not updated , have to recreate whole collection to add to fireCMS HOT 2
- Issue with CLI in virtual instance in Cloud HOT 2
- How to delete a project or revoke FireCMS access to the Firebase project
- Future Request: Support multiple databases in single project
- Cannot start the app locally
- FireCMS - Cannot create a collection or a field HOT 4
- Set ID based off of other documents in the collection HOT 1
- Requests to my server return a 403 since the update to 3.0.0 HOT 4
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 firecms.