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
A recent change to SQFormAutocomplete fixed a warning about the component being controlled/uncontrolled by adding an empty option. This solved the warning but now gives us an empty option at the bottom of the dropdown. This may not be desirable to most consumers so we should look into how we can omit the empty option and still not throw warnings about the component state going from controlled/uncontrolled.
This one's on me haha. For context here is an explanation of why the empty option is there but obviously we should try to avoid this if at all possible
Added a displayempty prop to SQFormAutocomplete that keeps the empty
option from displaying when not wanted. Able to preserve the
functionality that kept controlled/uncontrolled warnings at bay.
✅ Closes: #179
Added a displayempty prop to SQFormAutocomplete that keeps the empty
option from displaying when not wanted. Able to preserve the
functionality that kept controlled/uncontrolled warnings at bay.
✅ Closes: #179
A recent change to SQFormAutocomplete fixed a warning about the component being controlled/uncontrolled by adding an empty option. This solved the warning but now gives us an empty option at the bottom of the dropdown. This may not be desirable to most consumers so we should look into how we can omit the empty option and still not throw warnings about the component state going from controlled/uncontrolled.
introduced by: https://github.com/SelectQuoteLabs/SQForm/pull/146/files
The text was updated successfully, but these errors were encountered: