ifValid

inline fun <T> Form.FieldState<T>.ifValid(onValid: (value: T) -> Unit)(source)
inline fun <T> Form.Field<T>.ifValid(onValid: (value: T) -> Unit)(source)

Does the action of onValid if this instance is valid.