[flatpickr] Input field is inactive after coping screen from one app to another
Forge component by Samuel M.
Published on 29 May 2020

I have an app where the flatpickr works fine. But when I copy just then screen from this app to another app the input fields are inactive and the date picker can't be used!

I have no idea why. And I do not know what is the difference between these two apps thats makes the date pick work or not. Are there certain requirements that must be met?

Does anyone habe an idea?


Rank: #1197

Martin, any chance you could supply an example that is not working? an .OML file

Rank: #55591

For me it was cause by the CSS pointer-events: none;

.layout .Form .input.ReadOnly:not(.Not_Valid)[readonly='readonly'],
.layout .Form .select.ReadOnly:not(.Not_Valid)[disabled='disabled']{
    background-color: var(--color-neutral-2);
    border: 1px solid var(--color-neutral-4);
    color: var(--color-neutral-6);
    pointer-events: none;

by overriding the CSS it allowed me to trigger it from a input field.