We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Describe the bug
That's the issue.
To Reproduce
Use this code in the InputSearch example and then click the clear icon button.
InputSearch
initialState = { value1: 'something', value2: '', value3: '' } ;<div> <InputSearch placeholder="Search..." value={state.value1} label="Small" size="small" onChange={e => setState({ value1: e.target.value })} onSubmit={e => { e.preventDefault() console.log('submited! search this: ', e.target.value) }} disabled /> <br /> <InputSearch placeholder="Search..." value={state.value2} label="Regular" size="regular" onChange={e => setState({ value2: e.target.value })} onSubmit={e => { e.preventDefault() console.log('submited! search this: ', e.target.value) }} /> <br /> <InputSearch placeholder="Search..." value={state.value3} label="Large" size="large" onChange={e => setState({ value3: e.target.value })} onSubmit={e => { e.preventDefault() console.log('submited! search this: ', e.target.value) }} /> </div>
Expected behavior
Should not clear the input value
The text was updated successfully, but these errors were encountered:
Should this clearable button be even visible when input is disabled? Our Select, when disabled, hides this icon:
Sorry, something went wrong.
I agree with @vlaux, there shouldn't be a clear icon in the disabled variant.
Successfully merging a pull request may close this issue.
Describe the bug
That's the issue.
To Reproduce
Use this code in the
InputSearch
example and then click the clear icon button.Expected behavior
Should not clear the input value
The text was updated successfully, but these errors were encountered: