Hi! I've ran into a usecase that perhaps would be beneficial for others to have too.
I have a form on my site, that user can dynamically add/remove elements from/to.
Let's say single elements type would be something like this:
type alias Bar = {
id: Int,
memo: String,
isOk: Boolean
}
It'd be great if it was possible to compose the Form out of N of such elements but still be able to validate them one by one.
For example, each element needs to have a memo, otherwise whole form is in invalid.
Hope this explanation makes sense, please let me know if I can help somehow/provide more details.
Hi! I've ran into a usecase that perhaps would be beneficial for others to have too.
I have a form on my site, that user can dynamically add/remove elements from/to. Let's say single elements type would be something like this:
It'd be great if it was possible to compose the
Form
out ofN
of such elements but still be able to validate them one by one. For example, each element needs to have a memo, otherwise whole form is in invalid.Hope this explanation makes sense, please let me know if I can help somehow/provide more details.
Thank you so much!