laravel-nova-nested-form icon indicating copy to clipboard operation
laravel-nova-nested-form copied to clipboard

Help text is not displayed

Open alies-dev opened this issue 4 years ago • 6 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

alies-dev avatar Jan 29 '21 18:01 alies-dev

+1 Same here

NoahNxT avatar Jan 07 '22 15:01 NoahNxT

+1 Same here

same issue in help text not showing @yassilah please help

bhargavraviya avatar Jan 28 '22 10:01 bhargavraviya

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!

yassilah avatar Jan 28 '22 11:01 yassilah

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

bhargavraviya avatar Jan 31 '22 07:01 bhargavraviya

I'm not using this field anymore...

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

alberto-bottarini avatar Jan 31 '22 08:01 alberto-bottarini

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

bhargavraviya avatar Jan 31 '22 08:01 bhargavraviya