techouse / intl-date-time

International DateTime for Laravel Nova

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Help text not working

baaskoen opened this issue · comments

commented

When using the following field:

IntlDateTime::make(__('Label'), 'field_name')
                ->hideUserTimeZone()
                ->help(__('Some help text'))
                ->withTimeShort()
                ->minDate(now()->addDay())
                ->rules('required', 'date'),

The help text is not shown in the form.

In Vue Dev Tools I can see that the IntlDateTimePicker component has the property showHelpText set to true, but it seems this property is not (properly) passed to the default-field of Nova.

Fixed in #42