Hey!
I recently bought Material UI. I was already a fan of the asset before it goes to the store and I must say I like the product.
Well, I have noticed that the input fields do not update the counter text when you type on it during "Play Mode".
So I added this line in the Update Function (line 876. MaterialInputField.cs) :
UpdateCounter();
The code should look like this:
void Update()
{
if (Application.isPlaying)
{
if (inputField.isFocused)
{
SetLayoutDirty();
m_LastFocussedState = true;
}
else
{
if (m_LastFocussedState)
{
m_LastFocussedState = false;
OnDeselect(new PointerEventData(EventSystem.current));
}
}
UpdateSelectionState();
//I just added this to make it work
UpdateCounter();
CheckHintText();
CheckInteractable();
if (m_AnimateHintText)
{
SetHintLayoutToFloatingValue();
}
}
}
If anyone had this problem, I hope this helps.
Cheers.
Mike