Skip to content

Commit bcc70c2

Browse files
committed
TextField Clear Icon not working on latest MAUI version
1 parent 7c70b2d commit bcc70c2

File tree

2 files changed

+8
-4
lines changed

2 files changed

+8
-4
lines changed

demo/UraniumApp/Pages/InputFields/TextFieldPage.xaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@
6767
<Label Text="Simple set of TextFields." FontSize="Subtitle" Margin="20"/>
6868

6969
<VerticalStackLayout StyleClass="ControlPreview" Spacing="12">
70-
<material:TextField Title="Name" />
70+
<material:TextField Title="Name" AllowClear="True" />
7171
<material:TextField Title="Surname" />
7272
<material:TextField Title="Age" Keyboard="Numeric" />
7373
</VerticalStackLayout>

demo/UraniumApp/UraniumApp.csproj

+7-3
Original file line numberDiff line numberDiff line change
@@ -57,8 +57,8 @@
5757
<PackageReference Include="Newtonsoft.Json" Version="13.0.3" />
5858
<PackageReference Include="ReactiveUI.Fody" Version="19.5.1" />
5959
<PackageReference Include="Bogus" Version="35.4.0" />
60-
<PackageReference Include="Microsoft.Extensions.Logging.Debug" Version="9.0.0" />
61-
<PackageReference Include="Microsoft.Maui.Controls.Compatibility" Version="$(MauiVersion)" />
60+
<PackageReference Include="Microsoft.Extensions.Logging.Debug" Version="9.0.0" />
61+
<PackageReference Include="Microsoft.Maui.Controls.Compatibility" Version="9.0.50" />
6262
</ItemGroup>
6363

6464
<ItemGroup>
@@ -81,8 +81,12 @@
8181

8282
<ItemGroup>
8383
<MauiXaml Update="Resources\Styles\Override.xaml">
84-
<Generator>MSBuild:Compile</Generator>
84+
<Generator>MSBuild:Compile</Generator>
8585
</MauiXaml>
8686
</ItemGroup>
8787

88+
<ItemGroup>
89+
<PackageReference Update="Microsoft.Maui.Controls" Version="9.0.50" />
90+
</ItemGroup>
91+
8892
</Project>

0 commit comments

Comments
 (0)