mirror of https://github.com/penpot/penpot.git
🐛 Fix input variant
This commit is contained in:
parent
508db99a57
commit
8e79dfcb82
|
|
@ -499,7 +499,7 @@ test.describe("Tokens: Tokens Tab", () => {
|
|||
await valueField.fill("");
|
||||
// TODO: We need to fix this translation
|
||||
await expect(
|
||||
tokensUpdateCreateModal.getByText("Empty field"),
|
||||
tokensUpdateCreateModal.getByText("Token value cannot be empty"),
|
||||
).toBeVisible();
|
||||
await valueSaturationSelector.click({ position: { x: 50, y: 50 } });
|
||||
await expect(valueField).toHaveValue(/^#[A-Fa-f\d]+$/);
|
||||
|
|
|
|||
|
|
@ -205,6 +205,7 @@
|
|||
;; TODO: Review this value vs default-value
|
||||
:value (or value "")
|
||||
:hint-message (:message hint)
|
||||
:variant "comfortable"
|
||||
:slot-start swatch
|
||||
:hint-type (:type hint)})
|
||||
|
||||
|
|
|
|||
|
|
@ -83,6 +83,7 @@
|
|||
(mf/spread-props props {:on-change on-change
|
||||
:default-value value
|
||||
:hint-message (:message hint)
|
||||
:variant "comfortable"
|
||||
:hint-type (:type hint)})
|
||||
|
||||
props
|
||||
|
|
|
|||
Loading…
Reference in New Issue