Skip to content

readOnly attribute not working on Autocomplete field #177

@dtannen

Description

@dtannen
        Autocomplete::make('Field', 'field')
                ->options($this->getFieldOptions())
                ->placeholder('Choose a field')
                ->displayUsingLabels()
                ->rules('max:255', 'nullable')
                ->hideFromIndex()
                ->readOnly(function () use ($request) {
                    return true;
                }),

This field is no longer readOnly on 0.17.0 and Laravel 7 / Nova 3.

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