yassilah / laravel-nova-nested-form

This package allows you to include your nested relationships' forms into a parent form.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Help text is not displayed

alies-dev opened this issue · comments

If a field from the nested form has a help text (e.g. Text::make('name')->help('Fullname')), it's not displayed by package

+1 Same here

+1 Same here

same issue in help text not showing
@yassilah please help

Hi, sorry I'm not maintaining the package right now as I don't have time anymore 😕
See Contributions if you'd like to help!

hello anyone can help on that point
@alberto-bottarini any other?

I'm not using this field anymore...

Try to take a look at the code, I suppose it's a trivial issue

NestedFormSchema
setComponent

protected function setComponent(Field $field)
    {
        if ($field instanceof BelongsTo) {
            $field->component = 'nested-form-belongs-to-field';
        } else if ($field instanceof File) {
            $field->component = 'nested-form-file-field';
        } else if ($field instanceof MorphTo) {
            $field->component = 'nested-form-morph-to-field';
        }
        return $field;
    }

there is no use like text, number, and text area
also nova element like text field no variable like component