We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 964ac3c commit ffb7284Copy full SHA for ffb7284
packages/select/changelog/@unreleased/pr-7105.v2.yml
@@ -0,0 +1,5 @@
1
+type: fix
2
+fix:
3
+ description: Fix invalid code snippet example in Select documentation
4
+ links:
5
+ - https://github.com/palantir/blueprint/pull/7105
packages/select/src/components/select/select-component.md
@@ -71,7 +71,7 @@ const FilmSelect: React.FC = () => {
71
noResults={<MenuItem disabled={true} text="No results." roleStructure="listoption" />}
72
onItemSelect={setSelectedFilm}
73
>
74
- <Button text={selectedFilm?.title} rightIcon="double-caret-vertical" placeholder="Select a film" />
+ <Button text={selectedFilm?.title ?? "Select a film"} rightIcon="double-caret-vertical" />
75
</Select>
76
);
77
};
0 commit comments