The field shows an opacity as two alpha digits, so 50% shows as 80.
Committing that text unchanged applied 128/255 and recorded an undo
step. Text that matches the field now applies the opacity the field
shows, so a single object keeps it exactly and the other selected
objects take it. Any other text, such as rgb(255 0 0 / 50.4%), still
applies its own alpha.