Page 2 of 2

HTML Component Inheritance

Posted: Tue Jun 16, 2015 1:06 am
by Yurii Orishchuk

Aeneas,

How did you put select inside HTML component.

Please show us some screen shots about this implementation.

Thanks.


HTML Component Inheritance

Posted: Tue Jun 16, 2015 1:12 am
by Aeneas McBurney

HI, yes I used the html link from paypal. See screenshot below...

Image


HTML Component Inheritance

Posted: Sun Jun 21, 2015 11:57 pm
by Aeneas McBurney

Any updates here?


HTML Component Inheritance

Posted: Mon Jun 22, 2015 1:04 pm
by Serhii Kulibaba

Please run this JS on page show event:

preApperyio("html_component_name").find("select").parent().attr("class","");/pre

(change "html_component_name" to your html component's name)


HTML Component Inheritance

Posted: Mon Jun 22, 2015 8:04 pm
by Aeneas McBurney

Hi,

That has done something but still leaves the big font around the outside of the selected item

See ss...
Image


HTML Component Inheritance

Posted: Fri Jun 26, 2015 4:08 am
by Yurii Orishchuk

Hi Aeneas,

If you want you select to be the same as in your app - you need to use the same markup.

For example like this:

precode

<div data-role="fieldcontain" class="test_mobileselectmenu_37 ui-field-contain">
<div class="ui-select"><a href="#" role="button" id="test_mobileselectmenu_37-button" aria-haspopup="true" class="ui-btn ui-icon-arrow-d ui-btn-icon-right ui-btn-b ui-corner-all ui-shadow" tabindex="10"><span>
Veni
</span></a><select name="mobileselectmenu_37" id="test_mobileselectmenu_37" dsid="mobileselectmenu_37" data-theme="b" data-role="appery_selectmenu" data-inline="false" data-mini="false" data-icon="arrow-d" data-iconpos="right" data-native-menu="false" tabindex="-1" appery-class="test_mobileselectmenu_37">
<option id="test_mobileselectmenu_37-0" value="Veni" rerender="mobileselectmenu_37" dsid="mobileselectmenu_37-0" selected="selected">
Veni
</option>
<option id="test_mobileselectmenu_37-1" value="Vidi" rerender="mobileselectmenu_37" dsid="mobileselectmenu_37-1">
Vidi
</option>
<option id="test_mobileselectmenu_37-2" value="Vici" rerender="mobileselectmenu_37" dsid="mobileselectmenu_37-2">
Vici
</option>
</select><div style="display: none;" id="test_mobileselectmenu_37-listbox-placeholder"><!-- placeholder for test_mobileselectmenu_37-listbox --><><>
<>

/code/pre

Regards.