mirror of
https://github.com/Combodo/iTop.git
synced 2026-04-22 10:08:45 +02:00
N°3750 New data-input-typeattribute to fields container
This will allow easiest DOM manipulation in BeHat tests !
This commit is contained in:
@@ -345,4 +345,9 @@ class Field extends UIContentBlock
|
||||
{
|
||||
$this->AddDataAttribute('input-id', $sInputId);
|
||||
}
|
||||
|
||||
public function SetInputType(string $sInputType)
|
||||
{
|
||||
$this->AddDataAttribute('input-type', $sInputType);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user