As seen below, when inputAttributes.name is provided, the name is applied to both the search field and the hidden field containing the current value. The internal _inputAttributes should either always have its name property always overridden, or there should be a separate way to specify a name for just the hidden input (preferable IMO). Providing a name value to the hidden input allows for the component to be compatible with <form action> submission without any extra work, so I believe it's a critical feature to have.
As seen below, when
inputAttributes.name
is provided, the name is applied to both the search field and the hidden field containing the current value. The internal_inputAttributes
should either always have its name property always overridden, or there should be a separate way to specify a name for just the hidden input (preferable IMO). Providing a name value to the hidden input allows for the component to be compatible with<form action>
submission without any extra work, so I believe it's a critical feature to have.