Skip to content

Assigning false to setCanCreate makes the field to disappear after selecting an option. #267

@oswaldojerezz

Description

@oswaldojerezz

If a field has setCanCreate(false) the UI crashes when an option is selected with the following JS Issue:
Screenshot 2023-10-25 at 4 46 39 PM

Failing on Line 39 - TagField.js:
const element = this.selectComponentRef.select.wrapper;

silverstripe-tagfield version: 2.11.2

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions