@@ -32,7 +32,7 @@ CLASS Z2UI5_CL_DEMO_APP_110 IMPLEMENTATION.
3232 DATA (view ) = z2ui5_cl_xml_view=>factory( ).
3333 view->shell(
3434 )->page(
35- title = 'abap2UI5 - Popover Examples '
35+ title = 'abap2UI5 - Sample: MaskInput '
3636 navbuttonpress = client->_event( val = 'BACK' )
3737 shownavbutton = xsdbool ( client->get( )-s_draft-id_prev_app_stack IS NOT INITIAL )
3838 )->header_content(
@@ -41,12 +41,12 @@ CLASS Z2UI5_CL_DEMO_APP_110 IMPLEMENTATION.
4141 text = 'Source_Code' target = '_blank'
4242
4343 )->get_parent(
44- )->simple_form( title = 'Mask Input' layout = 'ColumnLayout' editable = abap_true
44+ )->simple_form( title = 'Generic Mask Input' layout = 'ColumnLayout' editable = abap_true
4545* )->content( 'form'
46- )->label( text = 'Mask Input '
47- )->mask_input( mask = ' ~~~~~~~~~~' placeholdersymbol = '_' placeholder = 'All characters allowed' )->get(
46+ )->label( text = 'Unique ID '
47+ )->mask_input( mask = ` ~~~~~~~~~~` placeholdersymbol = `_` placeholder = 'All characters allowed' )->get(
4848 )->rules(
49- )->mask_input_rule( maskformatsymbol = '~' regex = '" [^_]'
49+ )->mask_input_rule( maskformatsymbol = '~' regex = ` [^_]`
5050 )->get_parent( )->get_parent( )->get_parent(
5151 )->label( text = `Promo code`
5252 )->mask_input( mask = `**********` placeholdersymbol = `_` placeholder = `Latin characters (case insensitive) and numbers` )->get(
@@ -65,7 +65,7 @@ CLASS Z2UI5_CL_DEMO_APP_110 IMPLEMENTATION.
6565 )->rules(
6666 )->mask_input_rule( maskformatsymbol = `C` regex = `[A-Z0-9]`
6767 )->get_parent( )->get_parent( )->get_parent(
68- )->label( text = `Product activation key" `
68+ )->label( text = `Product activation key`
6969 )->mask_input( mask = `SAP-CCCCC-CCCCC` placeholdersymbol = `_` placeholder = `Starts with 'SAP' followed by digits and capital letters` showclearicon = abap_true )->get(
7070 )->rules(
7171 )->mask_input_rule( maskformatsymbol = `C` regex = `[A-Z0-9]`
0 commit comments