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 0136e8e commit bf85ccbCopy full SHA for bf85ccb
tests/Html/Editor/Fields/TagsTest.php
@@ -35,6 +35,14 @@ public function it_can_set_tags_escape_label_html(): void
35
$this->assertTrue($field->toArray()['escapeLabelHtml']);
36
}
37
38
+ #[Test]
39
+ public function it_can_set_tags_i18n_props_directly(): void
40
+ {
41
+ $field = new Tags;
42
+ $field->addButton('Add Tag');
43
+ $this->assertSame('Add Tag', $field->toArray()['i18n']['addButton']);
44
+ }
45
+
46
#[Test]
47
public function it_can_set_tags_i18n(): void
48
{
0 commit comments