CodeZettaInterview Hub

Angular · Forms · Mid-Level · Comparison

What is the difference between value and getRawValue()?

Short Interview Answer

value omits disabled controls; getRawValue includes them.

Detailed Explanation

Important when disabling fields for UX but still needing their data on submit.

Did you know this answer?