Skip to content

Commit 2864e51

Browse files
committed
Add a TextareaInputType for the text field
1 parent c2baf11 commit 2864e51

File tree

1 file changed

+2
-0
lines changed
  • compose-html-material3/src/jsMain/kotlin/com/huanshankeji/compose/html/material3

1 file changed

+2
-0
lines changed

compose-html-material3/src/jsMain/kotlin/com/huanshankeji/compose/html/material3/MdTextField.kt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -227,3 +227,5 @@ class MdTextFieldScope(val elementScope: ElementScope<HTMLElement>) {
227227
fun AttrsScope<*>.slot(value: Slot) =
228228
slot(value.value)
229229
}
230+
231+
object TextareaInputType : InputType.InputTypeWithStringValue("textarea")

0 commit comments

Comments
 (0)