James
aee95eb041
merge: relationship options filter
2022-04-05 14:59:01 -04:00
James Mikrut
1b4b5707bf
feat: extended validation function arguments ( #494 )
...
* feat: WIP extended validation function arguments
* chore: optimizes validation extended args
* chore: more consistently passes validation args
* chore: removes field from form state
* chore: passing tests
* fix: default point validation allows not required and some edge cases
* chore: ensures default validate functions receive field config
* chore: demo validation with sibling data
* chore: optimize getDatabByPath and getSiblingData
* chore: adds tests to validate extra arg options
* docs: add validation arguments
* chore: export default field validation
* chore: top level getSiblingData
* fix : #495 , avoids appending version to id queries
* chore: revises when field validation is run
* chore: restore original admin field validation
Co-authored-by: Dan Ribbens <dan.ribbens@gmail.com >
2022-04-05 14:51:28 -04:00
Dan Ribbens
1482fded9a
feat: upload field implements filterOptions
2022-04-05 12:03:57 -04:00
James
df934dfeff
feat: working PoC for reusing relationship filters in validate
2022-04-04 21:20:21 -04:00
Dan Ribbens
485991bd48
feat: filter relationship options in admin ui using filterOptions
2022-04-04 19:44:49 -04:00
James
1d4d30ce8f
chore: revises when field validation is run
2022-04-04 17:07:24 -04:00
Dan Ribbens
845b0b3709
chore: top level getSiblingData
2022-04-01 11:34:13 -04:00
Dan Ribbens
42baf2e27e
chore: optimize getDatabByPath and getSiblingData
2022-03-30 17:04:26 -04:00
Dan Ribbens
dade960615
chore: demo validation with sibling data
2022-03-30 15:32:58 -04:00
James
60f295ba9f
chore: passing tests
2022-03-29 18:37:02 -04:00
James
2b1a33efba
chore: removes field from form state
2022-03-29 17:57:10 -04:00
James
f5191dc7c8
chore: more consistently passes validation args
2022-03-29 15:38:22 -04:00
James
e597b4c66b
chore: optimizes validation extended args
2022-03-29 14:11:22 -04:00
James
50cf34ac2e
Merge branch 'feat/validate-extended-args' of github.com:payloadcms/payload into feat/validate-extended-args
2022-03-29 10:41:10 -04:00
Dan Ribbens
647cac3612
feat: WIP extended validation function arguments
2022-03-28 12:58:39 -04:00
Dan Ribbens
5a7e8a980b
feat: builds a way to inject custom React providers into admin UI
...
* fix: rich text textarea height
* feat: custom providers for admin panel
* docs: custom provider component
2022-03-28 11:23:22 -04:00
Dan Ribbens
f14e187545
feat: allow empty string radio and select option values ( #479 )
2022-03-16 13:09:37 -04:00
James
f5535f613a
fix: rare crash with link rte element
2022-03-07 10:23:50 -05:00
James
2e9a4c7d71
feat: improves rich text link
2022-03-03 16:29:38 -05:00
James
966c3c6471
feat: improves adding rich text voids to RTE
2022-03-03 15:17:02 -05:00
Dan Ribbens
7e69fcbc7d
fix: optimizes relationship input search querying
2022-02-23 14:43:33 -05:00
Dan Ribbens
cbf43fa0d8
fix: prevents None from appearing in hasMany relationship select options
2022-02-23 14:42:01 -05:00
James
bac2a0a0bf
chore: cleanup
2022-02-23 09:41:56 -05:00
James
08924a1934
fix : #461
2022-02-23 09:40:54 -05:00
James
cfca6d67f1
chore: type cleanup
2022-02-23 08:16:13 -05:00
Oran Epelbaum
a9b83c8798
fix : #459 - in Relationship field to multiple collections, when the value is null, options are not populated ( #460 )
2022-02-23 08:05:17 -05:00
James
08b3e8f18f
fix: ensures empty hasMany relationships save as empty arrays
2022-02-20 12:22:42 -05:00
James
56c16d5c16
fix : #454 , withCondition type usability
2022-02-15 12:52:11 -05:00
Jacob Fletcher
500fb1c5c4
feat: allows select input to receive new options ( #435 )
2022-02-10 18:43:20 -05:00
James
6fab8bfbef
fix : #431 - relationship field not properly fetching option results
2022-02-10 18:23:40 -05:00
James
13318ff360
feat: improves relationship field performance
2022-02-10 14:52:35 -05:00
James
e2662336b1
chore: removes console log
2022-02-08 19:18:05 -05:00
James
d7b669d404
chore: simplifies array / block field components
2022-02-08 19:04:37 -05:00
James
f710b8c4f3
fix: adds key to RichText based on initialValue
2022-02-08 17:50:27 -05:00
James
4e773c7152
feat: optimization of unpublish, revert to saved
2022-02-08 17:44:39 -05:00
James
160ab54b85
feat: builds revert to saved, unpublish
2022-02-08 13:13:43 -05:00
James
c38470c7b2
feat: allows access control to prevent reading of drafts
2022-02-06 14:46:34 -05:00
James
6dffeeb06f
feat: initial drafts and versions merge
2022-02-06 12:13:52 -05:00
James
414679d86a
fix : #422 , prevents loading duplicative relationship options
2022-02-03 12:30:28 -05:00
James
5681a2793d
chore: cleanup textarea
2022-02-03 11:47:08 -05:00
James
9dc11b2b83
chore: rich text upload cleanup
2022-02-01 09:45:43 -05:00
James
43fb317812
chore: removes unused form stringify functionality
2022-01-24 22:45:26 -05:00
Jarrod Flesch
c8b00206d9
style: adjusts style of nested RTE inside edit fields
2022-01-21 15:38:06 -05:00
Jarrod Flesch
d54d511133
docs: updates docs to include images for the RTE upload docs
2022-01-19 17:37:29 -05:00
Jarrod Flesch
1e6295a788
chore: removes unused css
2022-01-19 16:44:42 -05:00
Jarrod Flesch
f8af99b058
chore: renames flatten to unflatten in reduceFieldsToValues, disables automatic arrow function return in eslint
2022-01-19 11:22:27 -05:00
Jarrod Flesch
3adf44a241
feat: adds admin.upload.collections[collection-name].fields to the RTE to save specific data on upload elements
2022-01-19 11:21:08 -05:00
James
20e5dfbb4a
fix: ensures nested lists always render properly
2022-01-12 14:39:32 -05:00
James Mikrut
7df50f9bf9
feat: adds indentation controls to rich text
...
* feat: rich text indent PoC
* fix: new slate version types
* feat: ensures only lowest rich text list is shown as active
* feat: adds icons for indentation
* docs: adds indent to rich text
2022-01-12 14:16:05 -05:00
James
ef4e6d32a9
fix: type error in useField
2022-01-07 14:22:59 -05:00