setValue method
Updates the field's value and marks isDirty as true.
Note: Does not automatically trigger validate. Call validate explicitly if immediate validation feedback is desired.
Implementation
void setValue(String newValue) {
value.value = newValue;
isDirty.value = true;
}