Description of problem: When creating new TextBox in Dialog, type is set to Integer by default but the default value in TextBox remains "". Version-Release number of selected component (if applicable): How reproducible: 100% Steps to Reproduce: 1. Create Dialog with dialog field TextBox and set data type as integer for this field 2. Create a Catalog Item and assign the Dialog created in step 1 3. Go Service Catalog and order a service, when submitting the dialog, it should do default validation on data type for Textbox fields. Actual results: When type is set to Integer, default value should be set to 0 Expected results: Additional info: Found while testing https://bugzilla.redhat.com/show_bug.cgi?id=1278170
Erik - I think the important change here is that the edit field needs to default to the type of string. For the integer type I recall that an empty field will pass nil which is valid and can be interrupted in the scripting layer if needed. If that is not correct then it likely should default to an integer value when the data type is changed.
Hello, i was not aware of this behavior being intended. May I see the specification?