Does BasicTextField, TextField or OutlinedTextfiel...
# compose
m
Does BasicTextField, TextField or OutlinedTextfield have a mechanism for showing error message similar to what is achieved using TextView's setError() and getError()?
s
They have isError attribute
1
But not the same dialog
m
Yes, I can set the isError parameter, but it does not set the error message.
s
:/
c
We implemented our own
TextField
on top of
BasicTextField
to show the error message (and others).
1
m
Why didn't you implement it on to of material TextField?
c
Because we have a completely different look than the Material one. If it’s not your case, maybe you can reuse the Material
TextField
and show the error on top of it.
1