Cannot set the width and font size of TextInput

I can’t seem to set the width, font size or text alignment of a TextInput. I know some styles aren’t implemented yet.

Steps to reproduce

var input = h("input", { type: "text", placeholder: "Test", uxpQuiet: true, width: 5, minWidth: 0, style: {fontSize: 9});

Expected Behavior

Able to set font size, width and align.

Actual Behavior

Styles are not applied.

@Velara are you still unable to set the width? I’m unable to replicate the bug. Also, it’s recommended to use the style tag or css to style your tags!

1 Like

I can set the width now (tested in I’ll be sure to use the style tags.