Skip to content
This repository was archived by the owner on Mar 7, 2024. It is now read-only.
This repository was archived by the owner on Mar 7, 2024. It is now read-only.

withMeta extraAttributes doesn't work #11

Open
@progcode

Description

@progcode

I have the following field:
ListenerField::make('Jóváírt kredit', 'new_credits') ->sortable() ->help('<b>Automatikusan kerül kiszámításra a fizetendő összegből!</b>') ->withMeta([ 'extraAttributes' => [ 'readonly' => 'readonly' ], ]) ->calculateWith(function (Collection $values) { $order_total = $values->get('order_total'); return (($order_total/100)*5); })->rules('required')

but unfortunately the withMeta not working, the readonly attribute not setting on input. How can I do this?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions