# Bug OP-15232 - Form validation in add project dialog missing

Project: OpenProject
Status: closed
URL: https://community.openproject.org/work_packages/OP-15232

## Open points

_No work packages_

## Details

| Attribute | Value |
| --- | --- |
| Date |  |
| Priority | Medium |
| Module |  |
| Target versions | 14.3.0 |
| Observed in versions | 14.2.0 |
| Sprint | 14.3.0 |
| Backlog bucket |  |
| Bug found in version (deprecated) | 14.2.x |
| Found in mobile app version |  |
| Follow-up feedback e-mail |  |
| Requires doc change | No |
| Accessibility | No |
| Pull preview |  |
| List |  |
| Labels |  |

## People

| Attribute | Value |
| --- | --- |
| Assignee |  |
| Accountable | Judith Roth |
| Product manager |  |
| Developers | OP Dev Titan Team |
| Designer |  |
| Ordered by |  |
| Signed off by |  |
| Interest by |  |

## Planning

| Attribute | Value |
| --- | --- |
| Relevance |  |

## Costs

| Attribute | Value |
| --- | --- |
| Votes |  |
| Work |  |
| Labor costs |  |

## Description

### Steps to reproduce

1.  Login as a admin with permissions to manage project attributes

2.  Go to the Administration \> Projects \> Project attributes \> *\[Project attribute\] -\>* Enabled in projects

3.  Click "Add projects"

4.  Do not select any projects and click "Add" button

### What is the buggy behavior?

  - Unclear Error message is shown in a toast

<figure class="image op-uc-figure"><div class="op-uc-figure--content"><img class="op-uc-image" src="https://community.openproject.org/api/v3/attachments/107480/content"></div></figure>

### What is the expected behavior?

1.  A form validation error is shown underneath the "Add projects"-input

2.  The error message is derived from the validation: "Projects can't be blank" (it should be default validation message)

###
