Skip to content

InputGuesser no longer displays Autocomplete field for relations #454

@jusurb

Description

@jusurb

API Platform version(s) affected: 3.1.1

Description
I have a warehouse_part resource which has a place resource as a many:1 relation
In previous versions:

<InputGuesser source="place" validate={[required()]}/>

would produce an autocomplete field where i can select a place when creating a new Part entity. But now it's displayed as a TextInput field
image
Even though the hydra jsonD didn't change:

{
          "@type": "hydra:SupportedProperty",
          "hydra:property": {
            "@id": "#WarehousePart\/place",
            "@type": "rdf:Property",
            "rdfs:label": "place",
            "domain": "#WarehousePart"
          },
          "hydra:title": "place",
          "hydra:required": false,
          "hydra:readable": true,
          "hydra:writeable": true
        },

the same happened for other relations. I checked the upgrade docs but it does not mention any adjustments

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions