Date picker does not show date value

I have an auto generated form with 2 date fields but the dates do not display in the form

Have you converted your inputs to date pickers, using the ā€œmake date pickerā€ button?

Also, your date picker form fields should be ā€˜text’ inputs not ā€˜date’ inputs.

That's not really the case. You can convert both text and date inputs to date pickers.

Since when? It has always been that it has to be a text input?

yes, now it displays 2 calendars when I click it… The thing that frustrates me is that it seems it should ā€œgenerateā€ from the auto generator…

Maybe I go back and recreate it with text fields and switch them?

Not really sure, but it must have been like at least 6 months already. We improved that as it caused a lot of troubles for the users :slight_smile:

The generator generates basic form inputs, so you can then extend them as you need. It does not add components to the form (date picker, autocomplete etc.)

1 Like

Ugh!

I regenerated the form and changed the field to text boxes during the process, then after the form was generated I changed them to date pickers and they seem to work fine now. Maybe take that date type out of the generator , this was quite frustrating.

Next — the mystery of auto generated check boxes… I’m just switching those to text fields and typing Yes and No

What do you mean? What are you trying to achieve exactly? What database field type are you using and what should be displayed in the form?

What I’m trying to Achieve.

I generate a form with data type ā€œDateā€ and the form works when it is done without having to customize it.

What happens if I use the generator.

I generate a form with a ā€œDateā€ type, the generator creates a form with a date picker but the date is not displayed and the date does not update properly. I delete the form and re-generate it except I remember to change the date type fields to ā€œtextā€ then finish generating the form. After the form is done I go to the text field and click on ā€œuse date pickerā€ and it seems to work fine.

As I explained, the form generator generates simple/basic inputs, it does not add components such as date picker or autocomplete.
All you need to do is to select your generated input which has a type date and click the Make Date Picker button to add the Date Picker component to it.

1 Like