public fun clearData() { input.value = "" selectedAttachments.value = emptyList() validationErrors.value = emptyList() alsoSendToChannel.value = false }
Clears all the data from the input - both the current [input] value and the [selectedAttachments].