Comments (1)
@loveleet-convivity this is caused by naming multiple fields with the same name. All data is stored in form state and when you conditionally render fields with the same name the form state does not know how to handle it. This also will cause TS issues because each field type will override the previous and you will end up with only 1.
I think a better approach would just be naming each field differently.
from website-cms.
Related Issues (19)
- Build Label rich text element
- Console log on pages
- Build Use Cases pages in CMS
- Build Compare pages in CMS
- How to change the login interface? HOT 1
- Remove all .DS_Store files from repo
- source HOT 1
- Check form submissions for duplicative entries based on email
- link field's appearance select bug HOT 2
- Implement ESLint
- Integrate Preview HOT 1
- issue when publish
- Permission error creating user HOT 1
- QUESTION: Plans for migration to payload 2.0 HOT 2
- Adding Social Media icons throws error
- Integrate ISR HOT 1
- Build Highlight Rich Text Element
- Wire form submission emails 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 website-cms.