Validation message gone when the input component is disabled

Hi there,

Not sure if this is expected behaviour but I have a number input component that I use to display calculated value. I want this to be disabled since I've already done the calculation and this value will be the one pushed to a POST request. The POST request itself has validation on this input parameter but I want to alert the user prior to submitting that dimension they placed is not allowed. Screenshots below:

  1. Validation error message showing:

  1. Disabled or even setting it to read only component hides the validation error message:

Thanks

Would "read-only" instead of disabling the input work? Otherwise, offload the validation message into a new text component

Yep, even read only hides the validation error message.