Thread
#compose
    r

    Reondz

    2 years ago
    Why we must pass a param of "label" into TextField?Could it has a default value(null)?
    Chris Sinco [G]

    Chris Sinco [G]

    2 years ago
    The look and feel of
    TextField
    is based on the Material Design spec, which always includes a label in the component. It is technically possible to pass
    emptyContent()
    into the label parameter, which removes it visually.
    The other alternative is to use
    BaseTextField
    from the Foundation package which doesn't have a label, but also doesn't have other UI features like placeholder text.