Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problem with validations in last version #366

Open
jldearmas opened this issue Feb 27, 2024 · 1 comment
Open

Problem with validations in last version #366

jldearmas opened this issue Feb 27, 2024 · 1 comment

Comments

@jldearmas
Copy link

jldearmas commented Feb 27, 2024

Describe the bug
After update to last version, the view where I have been used validations for a long time stop compiling

Sample code

<material:TextField 
  HorizontalOptions="FillAndExpand" WidthRequest="430" HeightRequest="56" CornerRadius="4" Grid.Row="1" 
  AccentColor="{StaticResource Gray950}" TextColor="{StaticResource Gray54}" BorderColor="{StaticResource Gray54}" 
  TitleColor="{StaticResource Gray54}" Title="{x:Static strings:AppStrings.LoginUsernameLabel}" 
  Text="{Binding Username, Mode=TwoWay}" ReturnCommand="{Binding KeyEnterCmd}">

  <validation:RequiredValidation Message="{x:Static strings:AppStrings.LoginUsernameRequiredMsg}"/>

</material:TextField>

Error
XFC0009 No property, BindableProperty, or event found for "Validations", or mismatching type between value and property.

Screenshots
image

@jldearmas jldearmas changed the title Problems with validation in last version Problems with validationas in last version Feb 27, 2024
@jldearmas jldearmas changed the title Problems with validationas in last version Problems with validations in last version Feb 27, 2024
@jldearmas
Copy link
Author

The problem is with versions: 4.4.2 and 4.4.3. When I a downgraded to version 4.4.1 (the one that I had originally) the problem is gone

@jldearmas jldearmas changed the title Problems with validations in last version Problem with validations in last version Feb 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant