custom-field-guide's People
custom-field-guide's Issues
Add a `Filter` component
The documentation for Filter
components is incredibly thin at the moment. So far this is the only documentation I've been able to find, which just says what it can be used for, but nothing about the api, no examples, and no type references.
https://payloadcms.com/docs/admin/components#fields
If you were to add Filter
to the color picker example I believe it would be a valuable addition to the documentation (which is basically non-existant), and I for one would be a much happier man
Example not working: Application error: a client-side exception has occurred (see the browser console for more information).
Error: Cannot find module './styles.scss'
Cool extra custom field!
Everyting works perfect when I run Payload in dev mode but when I build en serve payload i get this error:
[15:53:33] INFO (payload): Starting Payload...
node:internal/modules/cjs/loader:936
throw err;
^
Error: Cannot find module './styles.scss'
Require stack:
- C:\Users\*\Documents\*\backend\dist\blocks\custom-fields\color-picker\component.js
- C:\Users\*\Documents\*\backend\dist\blocks\custom-fields\color-picker\index.js
- C:\Users\*\Documents\*\backend\dist\blocks\sections\Divider.js
- C:\Users\*\Documents\*\backend\dist\blocks\section-list.js
- C:\Users\*\Documents\*\backend\dist\collections\Page.js
- C:\Users\*\Documents\*\backend\dist\payload.config.js
- C:\Users\*\Documents\*\backend\node_modules\payload\dist\config\load.js
- C:\Users\*\Documents\*\backend\node_modules\payload\dist\init.js
- C:\Users\*\Documents\*\backend\node_modules\payload\dist\index.js
- C:\Users\*\Documents\*\backend\dist\server.js
at Function.Module._resolveFilename (node:internal/modules/cjs/loader:933:15)
at Function.Module._load (node:internal/modules/cjs/loader:778:27)
at Module.require (node:internal/modules/cjs/loader:999:19)
at require (node:internal/modules/cjs/helpers:102:18)
at Object.<anonymous> (C:\Users\*\Documents\*\backend\dist\blocks\custom-fields\color-picker\/component.js:73:1)
at Module._compile (node:internal/modules/cjs/loader:1099:14)
at Module._compile (C:\Users\*\Documents\*\backend\node_modules\pirates\lib\index.js:136:24)
at Module._extensions..js (node:internal/modules/cjs/loader:1153:10)
at Object.newLoader [as .js] (C:\Users\*\Documents\*\backend\node_modules\pirates\lib\index.js:141:7)
at Module.load (node:internal/modules/cjs/loader:975:32) {
code: 'MODULE_NOT_FOUND',
requireStack: [
'C:\\Users\\*\\Documents\\*\\backend\\dist\\blocks\\custom-fields\\color-picker\\component.js',
'C:\\Users\\*\\Documents\\*\\backend\\dist\\blocks\\custom-fields\\color-picker\\index.js',
'C:\\Users\\*\\Documents\\*\\backend\\dist\\blocks\\sections\\Divider.js',
'C:\\Users\\*\\Documents\\*\\backend\\dist\\blocks\\section-list.js',
'C:\\Users\\*\\Documents\\*\\backend\\dist\\collections\\Page.js',
'C:\\Users\\*\\Documents\\*\\backend\\dist\\payload.config.js',
'C:\\Users\\*\\Documents\\*\\backend\\node_modules\\payload\\dist\\config\\load.js',
'C:\\Users\\*\\Documents\\*\\backend\\node_modules\\payload\\dist\\init.js',
'C:\\Users\\*\\Documents\\*\\backend\\node_modules\\payload\\dist\\index.js',
'C:\\Users\\*\\Documents\\*\\backend\\dist\\server.js'
]
}
I got payload 1.0.11
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.