kvision / pl.treksoft.kvision.form.upload / UploadInput / getContent

getContent

suspend fun <K : Any> Form<K>.getContent(key: KProperty1<K, List<KFile>?>, kFile: KFile): KFile
suspend fun <K : Any> FormPanel<K>.getContent(key: KProperty1<K, List<KFile>?>, kFile: KFile): KFile

Returns file with the content read.

Parameters

key - key identifier of the control

kFile - object identifying the file

Return
KFile object