79288825

Date: 2024-12-17 17:23:33
Score: 2
Natty:
Report link

[(ngModel)] or formControlName binds the value of the radio button as a string ("true" or "false"), not as a boolean (true or false). you need to the variable to string : fullypaidvalue: string='true'; Also change the condition of d-none class to : [class.d-none]="fullypaidvalue == 'true'"

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Ameer hamza bhatti