F
Filamentβ€’2mo ago
DeDe

Select keep index value in memory

Hi, The behavior attended is to set hour automatically. For the first choice (Bureau1 - 23:00 index 10) the time is correct, but when i changed the value from the first select to "Bureau 2", i'm facing to a wrong value with the previous index (index 10) in the hour field. Anyone ever have facing to this ? Thanks for your help
No description
3 Replies
Dan Harrin
Dan Harrinβ€’2mo ago
you probably would have had a reply here by now if you posted code πŸ˜‰
DeDe
DeDeβ€’2mo ago
Hi ! This is my code (not clean i know πŸ˜… ) I want to return only "active" value in the dropdown, hiding the others "desactivate" values
Dan Harrin
Dan Harrinβ€’2mo ago
yeah this is quite tricky to diagnose can you simplify the code by removing lines and try to distill the problem into its simplest form remove calls to models etc and hardcode results