I want to extend formProperty, add attribute for it, but i do not know how

for example:

Thanks for any guidance