Time Field
Easy Forms includes a separate time field component that uses input masking to clearly indicate time entry to the user.
To use it, add a Time Picker field to your form. For example:
yaml
handle: time_field
field:
type: time_picker
display: 'Time Field'
instructions: 'The field uses the "time_picker" fieldtype.'
Requirements
This field requires the Alpine.js Mask plugin.
If it's not already loaded, you can add it to your layout file before the main Alpine.js file:
antlers
<script defer src="https://cdn.jsdelivr.net/npm/@alpinejs/[email protected]/dist/cdn.min.js"></script>