mirror of
https://github.com/Combodo/iTop.git
synced 2026-04-26 03:58:45 +02:00
N°3750 Add data-input-id to field container
This will allow easiest DOM manipulation in BeHat tests
This commit is contained in:
@@ -337,7 +337,12 @@ class Field extends UIContentBlock
|
||||
public function SetValueId(?string $sValueId)
|
||||
{
|
||||
$this->sValueId = $sValueId;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
public function SetInputId(string $sInputId)
|
||||
{
|
||||
$this->AddDataAttribute('input-id', $sInputId);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user