We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e722b55 commit ac7247eCopy full SHA for ac7247e
src/Fields/BaseField.php
@@ -257,7 +257,7 @@ public function renderAttributes(): array
257
258
public function getId(): string
259
{
260
- return $this->id ?? $this->name . '_' . uniqid();
+ return $this->attributes['id'] ?? $this->id ?? $this->name . '_' . uniqid();
261
}
262
263
public function getFieldValue($value = null): string
0 commit comments