In User dialogs. UserFloatInput default value seems not taken into account.
Dear bliss team,
I am making a menu in a bliss shell using the user_dialog. It looks like the default value is buggy or not behaving as I understand from the documentation.
Within a bliss session:
from bliss.shell.cli.user_dialog import UserFloatInput, UserCheckBox, UserIntInput, UserMsg, UserYesNo from bliss.shell.cli.pt_widgets import display
combien = UserFloatInput(label="Max temperature sur input 1", defval=9999.9) res = display(combien, title="Modification of safety - INTERLOCKS" )
One would expect to have defval value already filled in. As to have a default value, especially so that users just validate and do not type anything.
Alas :
And if validated without filling the return value is '' (empty) and not the default value.
Thanks, Yves