verbb / formie

The most user-friendly forms plugin for Craft CMS.
Other
93 stars 69 forks source link

Date field label not showing #1825

Closed jaydensmith closed 2 months ago

jaydensmith commented 2 months ago

Describe the bug

I have a weird one, when you have a date field with the following configuration, the label does not show:

  1. date disabled
  2. time enabled
  3. flatpickr disabled

Steps to reproduce

  1. Add a date field
  2. Disable date
  3. Enable time
  4. Disable flatpickr

Craft CMS version

4.8.9

Plugin version

2.1.10

Multi-site?

No

Additional context

No response

engram-design commented 2 months ago

Hey mate, is this related to the theme configs, or just Formie in general?

jaydensmith commented 2 months ago

@engram-design I removed the theme config so I'm pretty sure it's not that. The label text doesn't appear in the HTML.

Screenshot 2024-04-14 at 7 24 56 PM
jaydensmith commented 2 months ago

@engram-design sorry I realised I posted this on the wrong repo

engram-design commented 2 months ago

So this is a time-only field? Did you enter a value for the "Time Label"? That seems to be working for me. Here's some combos just to verify, all are without Flatpickr:

image
jaydensmith commented 2 months ago

@engram-design ah I didn't see the separate label field, thanks.