Jacob Fletcher
7894a54a0e
Merge branch 'alpha' into fix/alpha/admin-e2e
2024-04-04 10:02:37 -04:00
Jacob Fletcher
ecf40cc747
fix(ui): renders field description functions
2024-04-03 13:18:49 -04:00
Alessio Gravili
0c3ffb0743
chore: expect accurate error in uploads e2e test
2024-04-03 13:14:38 -04:00
Alessio Gravili
56dffd3c58
fix: validation not running correctly when changing field state and submitting form immediately after
2024-04-03 13:00:23 -04:00
James
4ddef9d648
chore: adds prop to form to allow server validation only on submit
2024-04-03 12:03:05 -04:00
Jessica Chowdhury
7cccca8194
chore(alpha): update fields-relationship e2e tests ( #5553 )
...
* fix: handles filter options in form state merge
* chore: fix and reintegrate fields-relationship e2e tests
* chore: update withMergedProps function for e2e tests
2024-04-03 16:11:19 +01:00
James
c7274ba16f
chore: wires up conditions for collapsibles, groups, etc
2024-04-02 10:39:52 -04:00
James
2f6a15a9ae
chore: calculates default values before running buildFormState
2024-04-01 10:52:26 -04:00
Alessio Gravili
535aa56627
fix: do not pass undefined data through buildStateFromSchema for tab fields
2024-03-29 17:32:40 -04:00
James
b696dce6e4
chore: disables password fields if disableLocalStrategy, safely inherits valid: false
2024-03-29 14:55:58 -04:00
James
d2cc229622
Merge branch 'alpha' of github.com:payloadcms/payload into fix/alpha/rte-e2e-tests
2024-03-29 13:51:29 -04:00
James
959f1e33cd
chore: form now validates without field validate functions
2024-03-29 12:44:40 -04:00
James
02ef033d23
chore: fixes infinite processing when submitting bad form
2024-03-29 11:03:21 -04:00
Patrik
6a0c6284d0
fix: passing blocks field test suite ( #5529 )
2024-03-28 20:56:52 -04:00
James Mikrut
08dd9ca91c
Merge pull request #5516 from payloadcms/feat/simplify-doc-fetch
...
feat: simplifies fetching of docs for drawer and edit views
2024-03-28 13:35:07 -04:00
Jarrod Flesch
8636685252
fix: simplifies field error paths ( #5504 )
2024-03-28 13:15:44 -04:00
James
934abec88c
feat: simplifies fetching of docs for drawer and edit views
2024-03-28 12:14:12 -04:00
Jarrod Flesch
c1d654c4ce
fix(tests): passing tabs test in fields suite ( #5463 )
2024-03-28 11:28:37 -04:00
Alessio Gravili
3f4ab5f95e
fix: undefined error when creating new row without subFieldState present ( #5502 )
2024-03-27 17:13:06 -04:00
Alessio Gravili
1e9999a8d3
fix: shallow-copy new form state one level deeper, fixes conditions ( #5499 )
2024-03-27 16:51:13 -04:00
Alessio Gravili
db8e805a96
fix: improve error path merging from server, make sure no new or removed rows/values coming from the server are being considered outside addFieldRow
2024-03-27 15:55:19 -04:00
Alessio Gravili
6f3934f2e5
fix: server form-state request wasn't triggered on first onChange
2024-03-27 11:44:50 -04:00
Alessio Gravili
79da297add
fix: form state not replaced if server has different data for rows
2024-03-27 11:44:02 -04:00
Alessio Gravili
6664535ab9
fix: form onChange using out-of-date old fields state
2024-03-27 11:43:35 -04:00
Alessio Gravili
80d290e178
fix: server-generated ID for base ID field is overriden on the client
2024-03-27 11:42:08 -04:00
Jacob Fletcher
3f0d0ecd5f
fix(ui): prevents field errors from flashing when used outside of field props context ( #5488 )
2024-03-27 10:48:05 -04:00
Alessio Gravili
c3d9d8ee2f
Merge pull request #5460 from payloadcms/temp14
...
fix: various issues impacting lexical e2e tests
2024-03-25 20:50:57 -04:00
Alessio Gravili
3d1589404c
fix: race condition between form modified setter and form onSubmit. Caused e2e flakes
2024-03-25 16:53:07 -04:00
Jarrod Flesch
5266612bb3
chore: get correct labels for unnamed fields in list view ( #5454 )
2024-03-25 15:31:23 -04:00
Patrik
a9b46a4d63
fix(ui): properly formats collapsible field IDs ( #5435 )
...
* test: passing collapsible fields test suite
* chore: passes indexPath into ArrayRow & updates path in collapsible field
* fix: collapsible paths and indexPath prop types
* chore: improves path and schemaPath syntax
* leftover
* chore: updates selectors in collapsibles tests
* chore: updates selector in live-preview test suite
---------
Co-authored-by: Jacob Fletcher <jacobsfletch@gmail.com >
2024-03-25 14:16:35 -04:00
Alessio Gravili
8d78d07415
fix: prioritize props path in useField - fixes sub-fields initialized from within fields, like blockName ( #5451 )
2024-03-25 13:21:01 -04:00
Alessio Gravili
016b644d86
fix: do not error if row field has no fields ( #5433 )
2024-03-22 14:29:13 -04:00
Elliot DeNolf
2dd04739b5
Merge pull request #5428 from payloadcms/fix/alpha/release-fixes
...
fix: alpha release fixes
2024-03-22 10:47:38 -04:00
Elliot DeNolf
59eec36746
fix: no export * allowed in client
2024-03-21 17:08:46 -04:00
Jacob Fletcher
5de1883390
fix(ui): ensures row label context exists for collapsible fields ( #5416 )
2024-03-21 16:41:35 -04:00
Alessio Gravili
35b0d213a6
fix: move form data retrieval logic to client ( #5411 )
...
* fix: only execute onChange if form modified
* fix: move document loading logic from RSC to DocumentInfoProvider
* fix: make it work for globals
* chore: remove unnecessary diffs
---------
Co-authored-by: Jarrod Flesch <jarrodmflesch@gmail.com >
2024-03-21 16:38:12 -04:00
Jacob Fletcher
64d6163f13
chore(ui): consolidates field label, error, and description components
2024-03-21 12:08:20 -04:00
Jacob Fletcher
b3d28bac6a
chore(ui): client-side renders all default field labels, descriptions, and errors
2024-03-20 15:18:05 -04:00
Patrik
cb5d005e68
test: passing array fields test suite ( #5383 )
...
* test: array tests passing except bulk update
* test: passing array fields test suite
2024-03-20 12:00:56 -04:00
Alessio Gravili
e73220e069
chore: fix build errors
2024-03-20 10:30:46 -04:00
Alessio Gravili
d2a1404f04
Merge remote-tracking branch 'origin/alpha' into newtests
2024-03-20 10:26:35 -04:00
Alessio Gravili
7ec37e058e
chore: adjust imports for richtext-slate
2024-03-20 10:07:30 -04:00
Jacob Fletcher
06cd13aef2
chore(ui): types mapped rich text field props
2024-03-19 23:37:50 -04:00
Elliot DeNolf
3bbfa822d7
chore: update ui refs in plugins
2024-03-19 17:00:04 -04:00
Jacob Fletcher
d473600a15
fix(ui): removes duplicative hidden field from array rows
2024-03-19 16:29:37 -04:00
James
959302a868
chore: progress to next
2024-03-19 16:16:08 -04:00
James
3bce86a1e8
chore: progress to next repo
2024-03-19 15:58:17 -04:00
James
65fddc5d28
chore: resolve build issues
2024-03-19 15:43:57 -04:00
James
c5491e6f27
chore: linting useThumbnail
2024-03-19 15:36:29 -04:00
James
1104b6daa4
chore: progress to element exports
2024-03-19 15:23:22 -04:00