techouse / intl-date-time

International DateTime for Laravel Nova
MIT License
57 stars 21 forks source link

Help text not working #39

Closed baaskoen closed 3 years ago

baaskoen commented 3 years ago

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.

techouse commented 3 years ago

Fixed in https://github.com/techouse/intl-date-time/pull/42