Bug 1129936 - YaST Configuration Management module does not display types $help and $placeholder
Summary: YaST Configuration Management module does not display types $help and $placeh...
Status: CONFIRMED
Alias: None
Product: Beta SUSE Linux Enterprise Server 15 SP1
Classification: SUSE Linux Enterprise Server
Component: YaST2 (show other bugs)
Version: RC 1
Hardware: x86-64 SLES 15
: P3 - Medium : Normal
Target Milestone: ---
Assignee: YaST Team
QA Contact: Jiri Srain
URL: https://trello.com/c/BdE2MUbU/
Whiteboard:
Keywords:
Depends on:
Blocks: 1129937 1129938 1129940
  Show dependency treegraph
 
Reported: 2019-03-20 14:39 UTC by Joaquín Rivera
Modified: 2019-03-27 10:44 UTC (History)
2 users (show)

See Also:
Found By: ---
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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/