Skip to main content
Filter by
Sorted by
Tagged with
1 vote
1 answer
24 views

Get definition of Knockout.js computed observable evaluator function

I would like to programmatically access the string representation of an evaluator function definition of a KO computed field. For example, in the case of: self.field = ko.computed(function () { ...
Ryan Penfold's user avatar
0 votes
0 answers
18 views

Knockout secure bindings not working (Durandal)

I have been trying to apply knockout secure bindings to remove unsafe-eval issues in app. Half of my durandal components have failed to load while doing. Can anyone suggest what is going wrong? I have ...
Swapnil Kumar Sahoo's user avatar
0 votes
1 answer
38 views

Knockout javascript radiobutton setting value programmatically

I have a custom control with the following code. I expect "Option 1" to be selected on page reload. But nothing is selected. But I can manually select either options. Initially the output is ...
Gith's user avatar
  • 27
0 votes
1 answer
45 views

Get html-element to overlay videojs player on iOS

I am working on a site that uses videoJS for video and have created html elements that are being place on top of the video as a scoreboard. The issue is that the native iOS player overrides videojs ...
Olle Strandberg's user avatar
0 votes
0 answers
10 views

Failed to display array in KnockoutJS in html page magento2.4

I tried to add multiple custom fees in checkout page, i tried to fetch labels of fees as array and need to show on by one, but its fail in KnockoutJS binding, below is my fee.html and fee.js file code ...
Vijayalakshmi M's user avatar
0 votes
0 answers
67 views

Knockout.js Binding with reCAPTCHA in TypeScript: Null Token from grecaptcha.execute on Form Submit

I have created a custom Knockout.js binding to integrate Google reCAPTCHA into my MVC application using TypeScript. However, I'm encountering an issue where the token returned by grecaptcha.execute is ...
Chander .k's user avatar
0 votes
1 answer
16 views

Knockout dropdown with multiple selection option does not populate observable array

I have an application which places a dropdown menu on a page. The dropdown is defined with this code: <select id="cmbVillages" multiple="multiple" class="uk-select" ...
Jonathan Small's user avatar
0 votes
0 answers
52 views

NVDA screen reader only reads the value from span

I am trying to add a text verbiage to my screen reader "The progress is at x%". However, NVDA screen reader only says the digits out loud. I am trying to show only the x% to the user, but ...
major's user avatar
  • 1
0 votes
0 answers
22 views

How to improve performance and make UI thread free in knockout.js for below code?

We have this below code which has 2 responsibilities to do: If we have checked a node then all it's children nodes should be selected. If a child node is deselected then all its parents node should ...
Vinod Bhatt's user avatar
0 votes
0 answers
48 views

Bind CSS with knockout Secure Bindings

How Can I bind CSS to a div using knock out secure bindings. The following piece of code is not working. data-sbind="css:{'has-error': isNullOrWhiteSpace($root.UserID()) == true,'MandatoryFields':...
shu's user avatar
  • 1,956
0 votes
0 answers
81 views

How to re-render dropdown with search text data filtered

I am using a bootstrap selectpicker with knockout.js binding which has multiselect as well as data-live-search properties on. Here is a scenario Steps: Open dropdown, type ‘cat’ in dropdown Due to ...
Keren Caelen's user avatar
  • 1,466
0 votes
0 answers
36 views

Form validation is not working using Knockout.js SPA

I have created a Single Page Application in which create three HTML Pages names: 1. Index.html (Master Page), 2. Home.html, and 3. Contact.html and also two JavaScript Pages: 1. Index.js (for Master ...
MANISH SHARMA's user avatar
0 votes
1 answer
64 views

Conditional html heading tag based on variable in knockout.js

Is it possible to set the html element in knockout.js programmatically? For example, the user can choose the heading level (from h1 - h6 and p if it's no heading). And in frontend I then have a ...
Mugentoki's user avatar
  • 1,626
0 votes
0 answers
37 views

Cast a string name to model name which already exists in knockout JS

I am working on a dynamic validation setting in Knockout JS. I blocked by one scenario, I am getting viewmodel name as string from db with control id. This model name is a string name like “testModel....
Remya's user avatar
  • 103
0 votes
0 answers
138 views

magento 2.4.6 knockout.js:3753 Uncaught TypeError: Unable to process binding "visible: function(){return isVisible() }"

in magento 2.4.6 getting bellow error. i can not found solution so if anyone can help me then it will be great. knockout.js:3753 Uncaught TypeError: Unable to process binding "visible: function(){...
mike cole's user avatar

15 30 50 per page
1
2 3 4 5
1350