-
-
Notifications
You must be signed in to change notification settings - Fork 98
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
SetField does nothing #492
Comments
Hello! Ah yes, you're right, it looks like this isn't implemented: elm-pages/src/Pages/Internal/Platform.elm Lines 1009 to 1013 in 5654b80
I believe the Thanks for the issue! |
Hi! First and foremost, thank you for creating
elm-pages
! 😁I'm working on a hobby project and implementing a simple suggestion box with autocomplete functionality using the Forms API. My goal is to have a click on a suggestion automatically populate the input field. I tried using the built-in
Effect.SetField
, but it didn't produce any results.Upon examining the source code in src/Pages/Internal/Platform.elm, I discovered that this feature hasn't been implemented yet. I'm curious about how this should work. If it's simply a matter of using
Dict.insert
to add the new value tomodel.pageFormState
, I'd be happy to submit a pull request if you're open to that.Please let me know your thoughts on this approach or if you have any alternative plans, thank you again!
The text was updated successfully, but these errors were encountered: