Thanks to visit codestin.com
Credit goes to github.com

Skip to content

[Form] Keep selected choices when extra choices have been submitted #9738

Closed
@trsteel88

Description

@trsteel88

I have an expanded form type. If I load the page, then someone deletes one of the entities that is in my available choices and I select/submit it I get an error. This behaviour is correct.

However, all the valid options I have chosen have no been unselected and the data reverts to the original value. Is there a way to stop this and use the values that were selected regardless of whether it is valid/invalid. Or potentially even just ignore invalid values?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions