laraning/nova-time-field

Validation message showing twice

Closed this issue · 1 comments

Validation message is showing twice when using required rule.

Using only one field:

TimeField::make(__('Working Hours From'))->withTwelveHourTime()->sortable()->rules('required')

Screenshot_2020-05-09 admin-single time field

Using two fields:

TimeField::make(__('Working Hours From'))->withTwelveHourTime()->sortable()->rules('required'),
TimeField::make(__('Working Hours To'))->withTwelveHourTime()->sortable()->rules('required')

Screenshot_2020-05-09 admin

Version: 0.2.5

Corrected in the next version, thanks!