Skip to content

Commit

Permalink
feat: Add AutomationId for each date entry (day, month and year)
Browse files Browse the repository at this point in the history
  • Loading branch information
sGeeK44 committed Dec 11, 2024
1 parent e015feb commit 79be375
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Smartway.UiComponent/Inputs/NumericDateEntry.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,9 @@
</Style>
</ResourceDictionary>
</StackLayout.Resources>
<Entry x:Name="FirstEntry" Grid.Column="0" Focused="OnFocusedSelectAllEntryContent"/>
<Entry x:Name="FirstEntry" Grid.Column="0" Focused="OnFocusedSelectAllEntryContent" AutomationId="{Binding Source={x:Reference Self}, Path=AutomationId, StringFormat='{0}_Day'}"/>
<Label Grid.Column="1" Text="/"/>
<Entry x:Name="SecondEntry" Grid.Column="2" Focused="OnFocusedSelectAllEntryContent"/>
<Entry x:Name="SecondEntry" Grid.Column="2" Focused="OnFocusedSelectAllEntryContent" AutomationId="{Binding Source={x:Reference Self}, Path=AutomationId, StringFormat='{0}_Month'}"/>
<Label Grid.Column="3" Text="/"/>
<Entry x:Name="ThirdEntry" Grid.Column="4" Focused="OnFocusedSelectAllEntryContent"/>
<Entry x:Name="ThirdEntry" Grid.Column="4" Focused="OnFocusedSelectAllEntryContent" AutomationId="{Binding Source={x:Reference Self}, Path=AutomationId, StringFormat='{0}_Year'}"/>
</StackLayout>

0 comments on commit 79be375

Please sign in to comment.