UseLabel and UsePlaceholder on blazor components: TextInput

Hi,

Can someone explain what the UseLabel and UsePlaceholder functionality is on the TextInput blazor components (we’re using the tailwind components). No matter what I put in these properties they don’t seem to change the behaviour, label or placeholder.

How do we prevent labels being presented so we can roll with our own? Currently our label ISO2Code is being translated into I S O 2 Code and it looks a bit odd…

They’re not Component parameters they’re just protected properties that allow using fallback values when no value is provided.

You should only be setting [Parameter] properties in your components, e.g. Label and placeholder properties.

1 Like

Ah yes, of course…