-
Notifications
You must be signed in to change notification settings - Fork 29
New issue
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
drop down fields should contain an empty entry always #676
Closed
Labels
canvas/config-form
Configuration form related issues
ui/ux
This issue is about improving the UI / UX
Milestone
Comments
lhein
added
canvas/config-form
Configuration form related issues
ui/ux
This issue is about improving the UI / UX
labels
Jan 19, 2024
lordrip
added a commit
to lordrip/uniforms-patternfly
that referenced
this issue
Jan 19, 2024
lordrip
added a commit
to lordrip/kaoto
that referenced
this issue
Jan 19, 2024
Currently, there's no placeholder for the `SelectField`. This commit updates `@kaoto-next/uniforms-patternfly` to version `^0.5.7` to be able to import the typings for the `SelectField` component and create a wrapper that sets a default placeholder. fix: KaotoIO#676
lordrip
added a commit
to lordrip/kaoto
that referenced
this issue
Jan 19, 2024
feat(form): Add a placeholder for Select fields Currently, there's no placeholder for the `SelectField`. This commit updates `@kaoto-next/uniforms-patternfly` to version `^0.5.7` to be able to import the typings for the `SelectField` component and create a wrapper that sets a default placeholder. fix: KaotoIO#676
lordrip
added a commit
to lordrip/kaoto
that referenced
this issue
Jan 19, 2024
Currently, there's no placeholder for the `SelectField`. This commit updates `@kaoto-next/uniforms-patternfly` to version `^0.5.7` to be able to import the typings for the `SelectField` component and create a wrapper that sets a default placeholder. fix: KaotoIO#676
lordrip
added a commit
that referenced
this issue
Jan 19, 2024
Currently, there's no placeholder for the `SelectField`. This commit updates `@kaoto-next/uniforms-patternfly` to version `^0.5.7` to be able to import the typings for the `SelectField` component and create a wrapper that sets a default placeholder. fix: #676
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
canvas/config-form
Configuration form related issues
ui/ux
This issue is about improving the UI / UX
The form select (drop down) we are currently using does not have a way to show that no value has been selected (we always select the first list item by default) and also no way to clean up a value.
Proposal:
Insert an entry to the drop down which represents an empty entry. We could label it as
<empty>
,Select...
or simply leave it as empty string. If a parameter doesn't have a value set in the code we just select this empty entry. Also if the user selects this entry in the config form, then we should clear that parameter in the code.The text was updated successfully, but these errors were encountered: