edge / account

Account portal for managing Edge services
Other
3 stars 1 forks source link

Copy pasting from Google to MX value gives invalid domain error #232

Closed adamkdean closed 9 months ago

adamkdean commented 9 months ago
image

Error may be UI or may be API.

annybs commented 9 months ago

I have the feeling this is just because the target value is uppercased.

adamkdean commented 9 months ago

I have the feeling this is just because the target value is uppercased.

Me too

annybs commented 9 months ago

I've checked the backend behaviour and all domain-like values are validated as lowercase, so I think the solution is for UI to automatically lowercase any uppercase characters it encounters for applicable record types. Ideally this would be on the input itself but it might be simpler just to surreptitiously lowercase it when submitting to API. I'll have a look at the implementation and work out the best way forward.