Posts

Showing posts from May, 2024

VBCS Oracle Combo box - Free Text Validation For Options

Image
Combo Box Free Text Validation A Combobox one is a dropdown list that supports single selection, text input, and search filtering. Choose a value from the drop down list or enter a new value in the input field. Demo of Valid Value Validation using ValueChange Event in Combo box    Default Behavior of combobox on selection with valid value on selection of value from List   Check the Label & Value below the Submit button on Entering FreeText  Error we Face is on "Entering Free Text" then value updates as Free Text not the Value Solution On ValueChange Event has detail attribute when value entered as free text  If we see detail then show Error message and update rawValue as empty string  and Value as Undefined If we see data then it is valid, updates the Label and Value correctly. Code Combo box < oj-combobox-one id = "movie" slot = "value" class = "oj-form-control-full-width"     raw-value = "{{$variables.searchValObj.movieRaw}}...