• Resolved eacchris

    (@eacchris)


    Hi

    Is it possible to have a textarea with a Filled style, as is the default for text inputs, rather than the default Outlined style?

    I am coding according to a design spec and this requires all the text fields (inputs and textareas) to be consistent as specified by material.io and use the Filled style.

    I can see the “Use outlined variant” option on text inputs but not on textareas. I’ve tried setting outlined=”no” in the md-textarea shortcode to no avail.

    If this isn’t already built in, I’ll have to override the CSS myself, but I thought I’d ask the question in case I’m missing a setting.

    Many thanks
    Chris

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author GusRuss89

    (@gusruss89)

    Hi Chris,

    While the material.io site does show multi-line text fields with the solid background, Google’s “Material Components Web” doesn’t offer this field type, so it’s not built in to the plugin.

    https://material-components.github.io/material-components-web-catalog/#/component/text-field

    Sorry about that. Personally I’d also like to see Google add a solid background option for textarea fields

    Thanks,
    Angus

    Thread Starter eacchris

    (@eacchris)

    Hi Angus

    I’ll discuss with the client to see whether they want to invest in the time needed to come up with some CSS overrides or whether we just accept the mix of Filled and Outlined.

    Thanks for responding so quickly.

    Kind regards
    Chris

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Filled Textarea instead of Outlined’ is closed to new replies.