Add eager errors option to core component input fields #5514
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
I had an issue when building an application with both timezone and calendar selection, that the date could become invalid by changing the timezone without the date picker being touched. The error was not shown, since the
phx-feedback-for
attribute was doing it's job. I have added a feedback slot, that allows to either disable feedback altogether, or set it to eager so it will always be displayed when available. Default does not change current behaviourThis was the question I asked in the form ahead of writing the patch: https://elixirforum.com/t/how-does-liveview-keep-track-of-which-forms-fields-have-been-altered/56014