description Provider
fun <T, F : ValidatedField<T>> F.descriptionProvider(provider: BiFunction<T, String, MutableText?>): F
Provides a custom description (tooltip) provider implementation for the receiver field
Return
F the receiver is passed through
Author
fzzyhmstrs
Since
0.7.5
Parameters
F
the subtype of validated field
T
the type that the validated field stores
provider
BiFunction<T, String, MutableText?> A description provider. It is supplied the current stored value as well as the fields description key. The output text is nullable. If null is returned, the standard description mechanism will be used.