Quantcast
Channel: Ember.JS - Latest topics
Viewing all articles
Browse latest Browse all 4869

Which event of the component or hbs file is good for initializing the readonly features for some textboxes

$
0
0

Hi, I have few textboxes in my hbs component, which remaining values for a Total, when the total is - remaining values total is 0 I want to make those textboxes of the hbs component as readonly. This is hbs file which loads part of main hbs file of Single page.

These remaining amounts first loads from the Server, then if the remaining amount is 0 then I want to make all those textboxes readonly or if when an amount entered in any of the textboxes I am calculating the sum of the textboxes on the blur event then also I want to make all those textboxes to be readonly, any suggestions please, I am new to Ember and I am new for the JavaScript coding - thank you so much and thanks in advance.

1 post - 1 participant

Read full topic


Viewing all articles
Browse latest Browse all 4869

Trending Articles