Input

Class Input


Output

No output provided yet


Twig Tag

Tag:UIInput
Syntax:
{% UIInput Type {Parameters} %}
Type:
ForHidden No comment
Standard No comment
ForInputWithLabel @see Field component that is better adapter when dealing with a standard iTop form

Input ForHidden

syntax:
{% UIInput ForHidden {sName:'value', sValue:'value', sId:'value'} %}
parameters:
sName string mandatory    
sValue string mandatory    
sId string optional NULL  

Input Standard

syntax:
{% UIInput Standard {sType:'value', sName:'value', sValue:'value', sId:'value'} %}
parameters:
sType string mandatory    
sName string mandatory    
sValue string mandatory    
sId string optional NULL  

Input ForInputWithLabel

syntax:
{% UIInput ForInputWithLabel {sLabel:'value', sInputName:'value', sInputValue:'value', sInputId:'value', sInputType:'value'} %}
parameters:
sLabel string mandatory    
sInputName string mandatory    
sInputValue string optional NULL  
sInputId string optional NULL  
sInputType string optional ‘type’  

Input common parameters

AddCSSClass string CSS class to add to the generated html block
AddCSSClasses array like <code>[‘ibo-is-hidden’, ‘ibo-alert–body’]</code>
AddCssFileRelPath string  
AddHtml string  
AddJsFileRelPath string  
AddMultipleCssFilesRelPaths array  
AddMultipleJsFilesRelPaths array  
CSSClasses array like <code>[‘ibo-is-hidden’, ‘ibo-alert–body’]</code>
DataAttributes array Array of data attributes in the format [‘name’ => ‘value’]
IsChecked    
IsDisabled bool  
IsHidden bool Indicates if the block is hidden by default
IsReadonly bool  
Label    
Name string  
Placeholder string  
Type string  
Value string  

Examples

No examples provided yet