XF-Material-Library icon indicating copy to clipboard operation
XF-Material-Library copied to clipboard

Error State changes the IsEnabled state of MaterialTextField

Open PedroCigaw opened this issue 3 years ago • 1 comments

🐛 Bug Report

On the XF.Material.Forms.UI.MaterialTextField, changing the HasError property sets IsEnabled to true.

Expected behavior

The IsEnabled state should not be changed when HasError has changed

Reproduction steps

When you change HasError to true then back to false, it sets IsEnabled to true. In the private method ChangeToNormalState it is has hard coded IsEnabled = True, this is clearly a bug as this will affect any existing binding to this property.

Configuration

Version: 1.6.5

Platform:

  • [ ] :iphone: iOS
  • [ ] :robot: Android
  • [ ] :checkered_flag: WPF
  • [ ] :earth_americas: UWP
  • [ ] :apple: MacOS
  • [ ] :tv: tvOS
  • [x ] :monkey: Xamarin.Forms

PedroCigaw avatar Jul 13 '20 17:07 PedroCigaw

Any solution?

OscarHMG avatar Feb 01 '21 20:02 OscarHMG