Custom fields labels have no target attribute on the registration window

Hi.
On the registration window, when you click any label, it focuses the corresponding field, but this is not the case for custom fields (at least the text one):

Would be better if they had a target attribute like the other fields.

6 Likes

Oh yes this is a good thing for us to fix, can you take a look next week @featheredtoast?

5 Likes

Custom field inputs and checkboxes will now correctly react when their label is clicked :melon:

https://github.com/discourse/discourse/commit/7a1cefce78a4554e846fbcff61ba3392d93276b3

I noticed that select-kit doesn’t respond to a label’s for attribute yet, so this isn’t happening for custom select fields.

9 Likes

This topic was automatically closed after 30 hours. New replies are no longer allowed.