Bug 1129936

Summary: YaST Configuration Management module does not display types $help and $placeholder
Product: [SUSE Linux Enterprise Server] Beta SUSE Linux Enterprise Server 15 SP1 Reporter: Joaquín Rivera <jeriveramoya>
Component: YaST2Assignee: YaST Team <yast-internal>
Status: CONFIRMED --- QA Contact: Jiri Srain <jsrain>
Severity: Normal    
Priority: P3 - Medium CC: igonzalezsosa, lubos.kocman
Version: RC 1   
Target Milestone: ---   
Hardware: x86-64   
OS: SLES 15   
URL: https://trello.com/c/BdE2MUbU/
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---
Bug Depends on:    
Bug Blocks: 1129937, 1129938, 1129940    

Description Joaquín Rivera 2019-03-20 14:39:10 UTC
During testing of jsc#SLE-2995 and playing editing form.yml to create different visualizations, $help and $placeholder could not be displayed (even without $default value).
It is easy to check using a small portion of this example:
https://github.com/yast/yast-configuration-management/blob/master/test/fixtures/formulas-ng/test-formula/form.yml

Expectation:
According to https://www.suse.com/documentation/suse-manager-3/3.2/susemanager-best-practices/html/book.suma.best.practices/best.practice.salt.formulas.and.forms.html#best.practice.salt.formulas.pillar

"$help and $placeholderThe $help and $placeholder attributes are used to give a user a better understanding of what the value should be.$help defines the message a user sees when hovering over a field$placeholder displays a gray placeholder text in the field$placeholder may only be used with text fields like text, password, email or date.
It does not make sense to add a placeholder if you also use $default as this will hide the placeholder."
Comment 1 Imobach Gonzalez Sosa 2019-03-21 09:09:47 UTC
Moving the bug to our Trello board: https://trello.com/c/BdE2MUbU/