Skip to content

feat: Allow custom field options for create dialog#7924

Draft
distantnative wants to merge 1 commit intov6/developfrom
v6/feat/page-creat-override-field-options
Draft

feat: Allow custom field options for create dialog#7924
distantnative wants to merge 1 commit intov6/developfrom
v6/feat/page-creat-override-field-options

Conversation

@distantnative
Copy link
Member

@distantnative distantnative commented Feb 2, 2026

Description

💥 Facing the issue that when creating directly as published, the dialog will throw errors when some validation has been disabled via the create option. Cause for validating, the dialog uses the temporary model - and its blueprint - and that of course considers the regular field options. This could be considered as intended (validation options can only be customized when creating as draft as the main validations will be enforced when publishing too - and during that step the custom options don't matter)... but this of course could be confusing. I need another opinion @bastianallgeier

Changelog

✨ Enhancements

create:
  fields:
    fieldA:
      required: false
      
fields:
  fieldA:
    type: text
    required: true

For review team

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant