Open ObaydaAlesawi opened 1 year ago
Same, I have Text::make('Label')
and URL::make('URL')
that display this table when editing.
.
I want to hide the "Label" field and display a combined link like so:
SimpleRepeatable::make('Links', 'links', [
Text::make(__('Label'))->onlyOnForms(),
URL::make(__('URL'))
->displayUsing(fn ($url, $row) => $row['label']),
])
I would expect this result:
But I get this, the Text::make('Label')->onlyOnForms()
is not hidden.
I'm using
hideWhenUpdating
on a field that's in SimpleRepeatable, but it did not hide the field, any ideas why?