JavaScript UI Libraries & Blazor Components Suite – Smart UI › Forums › ComboBox › filling in a combo box using jScript › Reply To: filling in a combo box using jScript
January 16, 2023 at 3:38 pm
#104224
Participant
i am sorry that my question was not clear:
https://codepen.io/edwardsmarkf/pen/XWBazzR
let element = document.createElement('smart-combo-box');
element.value = 'default value!';
providing the value does not appear to be working for me, as you can see, the provided value is not displaying. i am only seeing a blank.
EDIT:
this statement works fine:
document.querySelector('smart-combo-box').setAttribute('value', 'test');
-
This reply was modified 1 year, 7 months ago by
edwardsmarkff.
-
This reply was modified 1 year, 7 months ago by
edwardsmarkff.
-
This reply was modified 1 year, 7 months ago by
edwardsmarkff.
-
This reply was modified 1 year, 7 months ago by
edwardsmarkff.
-
This reply was modified 1 year, 7 months ago by
edwardsmarkff.
-
This reply was modified 1 year, 7 months ago by
edwardsmarkff.
-
This reply was modified 1 year, 7 months ago by
edwardsmarkff.