score:5

Accepted answer

if you set a static string as a prop it will be rendered as is.

if you set a variable as a prop it will be sanitized.

your best bet here is convert your hex char code to string before passing it down to your component (using string.fromcharcode()):

<field
   label="password"
   value={string.fromcharcode("0x2022").repeat(10)}
   type="password"
/>

Related Query

More Query from same tag