Home > Software engineering >  How can I add Adornment inside MUI InputBase?
How can I add Adornment inside MUI InputBase?

Time:12-12

I am trying to place MUI Adornment inside of MUI InputBase, but so far I can only get it to render outside of the input:

    <InputField
      id={id}
      ref={ref}
      error={error}
      type={type}
      multiline={multiline}
      minRows={minRows}
      inputProps={inputProps}
      endAdornment={
        <InputAdornment position="end">adornment</InputAdornment>
      }
      {...props}
    />

Edit determined-montalcini-kjdpt

  • Related