You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
then the input correctly renders with 'foo' as the value.
However, if the reducer returns
{inputValue: ''}
then the input will display '#{inputValue}' as the value, as if it was just skipped to be rendered all together.
TLDR: input values should be able to receive blank strings (because sometimes we don't know if we want to display a blank input or an input with a value)
The text was updated successfully, but these errors were encountered:
Hmm that could be causing it. It is interesting that you are actually getting #{inputValue} as the value. That means the template string is being interpolated...
If there is an input such as:
If the reducer returns
then the input correctly renders with 'foo' as the value.
However, if the reducer returns
then the input will display '#{inputValue}' as the value, as if it was just skipped to be rendered all together.
TLDR: input values should be able to receive blank strings (because sometimes we don't know if we want to display a blank input or an input with a value)
The text was updated successfully, but these errors were encountered: