You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'd like to hear your opinion out on a problem I'm having. My form has a dynamic list of "click trackers" fields, you can add up to three of them. What would be your idea on solving this kind of thing?
"Hacky" way to solve this is to list the fields click_trackers_0, click_trackers_1, click_trackers_2 and render their errors under these names, but maybe you have a better idea.
Thanks!
The text was updated successfully, but these errors were encountered:
I guess that's an alternative way to go as well. The problem here is that currently my front-end code just knows that the response for errors is key-value dict where key is String with field name and val is a String with error message. Now it'd have to dynamically see which field has which type. I think I'd prefer the dynamic field name approach here and keep the error structure flat, at least that's my current intuition.
I'd like to hear your opinion out on a problem I'm having. My form has a dynamic list of "click trackers" fields, you can add up to three of them. What would be your idea on solving this kind of thing?
"Hacky" way to solve this is to list the fields
click_trackers_0
,click_trackers_1
,click_trackers_2
and render their errors under these names, but maybe you have a better idea.Thanks!
The text was updated successfully, but these errors were encountered: