Should input fields be used as ready only information?

I have a license that will be transferred from user "James" to someone in my database (this is enterprise application):

enter image description here

When I click on the name (it means assigned to) it opens a popup so it goes into "edit" mode

enter image description here

The field "From" is just "view" only, because it is pulled from the person who owns the license.

When coding in html and using bootstrap, is this using input field correct? https://getbootstrap.com/docs/4.0/components/forms/#readonly-plain-text