Skip to content

Commit

Permalink
Merge pull request #75 from netglade/fix/value-transform-with-text-ed…
Browse files Browse the repository at this point in the history
…iting-controller

Fix: enable value transform with text editing controller
  • Loading branch information
petrnymsa authored Jan 2, 2025
2 parents 9ad0082 + be01910 commit 588c80e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion glade_forms/lib/src/core/glade_input.dart
Original file line number Diff line number Diff line change
Expand Up @@ -659,7 +659,7 @@ class GladeInput<T> {

void _setValue(T value, {required bool shouldTriggerOnChange}) {
_previousValue = _value;
_value = _useTextEditingController ? value : (_valueTransform?.call(value) ?? value);
_value = _valueTransform?.call(value) ?? value;

_isPure = false;
__conversionError = null;
Expand Down

0 comments on commit 588c80e

Please sign in to comment.