After you round a rectangle’s corners, you cannot create a dashed line on just one side of that rectangle.
Hey there! Would you mind sharing a quick screenshot or video recording of what you intend to do? It will help us to better visualise the issue on your end. Thank you