apostrophecms / apostrophe

A full-featured, open-source content management framework built with Node.js that empowers organizations by combining in-context editing and headless architecture in a full-stack JS environment.
https://apostrophecms.com
Other
4.37k stars 590 forks source link

handle validate for choices #4793

Closed haroun closed 1 week ago

haroun commented 3 weeks ago

Summary

Log only errors for visible fields + wait for choices to trigger validate

What are the specific steps to test this change?

For example:

  1. Run the website and log in as an admin
  2. Open a piece manager modal and select several pieces
  3. Click the "Archive" button on the top left of the manager and confirm that it should proceed
  4. Check that all pieces have been archived properly

What kind of change does this PR introduce?

(Check at least one)

Make sure the PR fulfills these requirements:

If adding a new feature without an already open issue, it's best to open a feature request issue first and wait for approval before working on it.

Other information:

linear[bot] commented 3 weeks ago

PRO-6528 Find out whether the bug in select is a project-level bug or a bug in Apostrophe

haroun commented 2 weeks ago

I've created https://linear.app/apostrophecms/issue/PRO-6799/set-default-values-for-invisible-fields