Skip to content

Category - The "Type" field is missing after saving an unfilled form #14168

@MojisolaaaO

Description

@MojisolaaaO

Mautic Series

5.0.x series

Mautic installed version

5.1.0

Way of installing

Other (please specify if relevant in the bug report)

PHP version

8.3.8

What browsers are you seeing the problem on?

Chrome

What happened?

While testing this PR #13849 on Gitpod, I noticed that the type field dissapears after saving the form without inputting data in the other fields.

How can we reproduce this issue?

Step 1: Install Mautic
Step 2: Input valid credentials
Step 3: Click on the "Login" button
Step 4: Click on the Settings icon at the top right of the screen
Step 5: Click on Categories
Step 6: Click on the "New" button
Step 7: Leave the Title, Description, Alias, and Color fields blank
Step 8: Click on the "Save" button

Video of the Bug

Relevant log output

No response

Code of Conduct

  • I confirm that I have read and agree to follow this project's Code of Conduct




Care about this issue? Want to get it resolved sooner? If you are a member of Mautic, you can add some funds to the Bounties Project so that the person who completes this task can claim those funds once it is merged by a member of the core team! Read the docs here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    T1Low difficulty to fix (issue) or test (PR)bugIssues or PR's relating to bugscategoriesAnything related to categoriesformsAnything related to forms

    Type

    Projects

    Status

    🥳 Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions