Show the whole Rule on one review card, with quiet flags for missing cards and Continue once each question has one.
This commit is contained in:
1 parent
cc878e3c19
commit
6e2e1915ae
30 files changed
+571
-218
No files matched your search
@@ -287,4 +287,18 @@ describe("MultiSelect – behaviour specifics", () => {
|
||||
);
|
||||
expect(screen.getByText("Pick one")).toBeInTheDocument();
|
||||
});
|
||||
|
||||
it("shows a flag after the add chip in the same row", () => {
|
||||
render(
|
||||
<MultiSelect
|
||||
options={[]}
|
||||
addButton
|
||||
addButtonText="Add card"
|
||||
flag="No card yet. Add one before you finish."
|
||||
/>,
|
||||
);
|
||||
expect(
|
||||
screen.getByText("No card yet. Add one before you finish."),
|
||||
).toBeInTheDocument();
|
||||
});
|
||||
});
|
||||
Reference in new issue
Block a user