I created a field element for my FormTemplate to use in FeatureForm editing.
No date picker widget shows on the from. Am I missing something?
const fieldElement2 = new FieldElement({
fieldName: "inspdate",
label: "Inspection date",
description: "Date inspection was handled",
input: {
// autocastable to DateTimePickerInput
type: "datetime-picker",
includeTime: false
}
});
Solved! Go to Solution.
I had an issue with the datetime picker at 4.18 and created a support ticket with Esri. That has been turned into enhancement #ENH-000138560, which is still open. I think this is the same issue that you are having, and if the enhancement is still open (it is) that means it wasn't fixed at 4.19.
My application has related tables that I'm using Dojo Dgrid for, which has a datetime picker, but I also utilize the ArcGIS Editor for the primary feature layer, which has the datetime picker problem. In my case, I'm moving forward with what I have with the expectation of updating it once this is fixed. I have spent a little time trying to build one on top of the Editor widget, but I never figured a way to make a custom datetime picker for it. If you figure something out please let me know.
I had an issue with the datetime picker at 4.18 and created a support ticket with Esri. That has been turned into enhancement #ENH-000138560, which is still open. I think this is the same issue that you are having, and if the enhancement is still open (it is) that means it wasn't fixed at 4.19.
My application has related tables that I'm using Dojo Dgrid for, which has a datetime picker, but I also utilize the ArcGIS Editor for the primary feature layer, which has the datetime picker problem. In my case, I'm moving forward with what I have with the expectation of updating it once this is fixed. I have spent a little time trying to build one on top of the Editor widget, but I never figured a way to make a custom datetime picker for it. If you figure something out please let me know.
Did you hear anything about the enhancement ENH-000138560 status?
Nothing yet. It was submitted on 3/28/2021. I can try to escalate it and see what happens.