add option to hide value to number picker
9caea245
Simon Liebers
committed
succeeded
2 changed files
NumberPicker.razor
/WPE.App.Shared.BaseComponents/Pages/ActionElement/NumberPicker/NumberPicker.razor+6
/WPE.App.Shared.BaseComponents/Pages/ActionElement/NumberPicker/NumberPicker.razor
Add comment 56 }
Add comment 57 </div>
Add comment 58 </div>
Add comment 59 Plus   @if (DisplayValueBox)
Add comment 60 Plus   {
Add comment 59 61 <div class="value-wrapper">
Add comment 60 62 <Text_Regular Type="TextType.TextL">@valueString</Text_Regular>
Add comment 61 63 </div>
Add comment 64 Plus   }
Add comment 62 65 </div>
Add comment 63 66
Add comment 64 67 @code {
Add comment 86 89 [Parameter]
Add comment 87 90 public bool Active { get; set; } = true;
Add comment 88 91
Add comment 92 Plus   [Parameter]
Add comment 93 Plus   public bool DisplayValueBox { get; set; } = true;
Add comment 94 Plus  
Add comment 89 95 protected override void OnAfterRender(bool firstRender)
Add comment 90 96 {
Add comment 91 97 base.OnAfterRender(firstRender);
WPE.App.Shared.BaseComponents.csproj
/WPE.App.Shared.BaseComponents/WPE.App.Shared.BaseComponents.csproj-1+1
/WPE.App.Shared.BaseComponents/WPE.App.Shared.BaseComponents.csproj
Add comment 15 <PackageIcon>icon.png</PackageIcon>
Add comment 16 <PackageReadmeFile>ReadMe.md</PackageReadmeFile>
Add comment 17 <PackageTags>WPE;Workplace Experience;Blazor;MAUI;infsoft</PackageTags>
Add comment 18 Minus   <Version>0.0.19</Version>
Add comment 18 Plus   <Version>0.0.20</Version>
Add comment 19 <WarningsAsErrors>RZ10012</WarningsAsErrors>
Add comment 20 </PropertyGroup>
Add comment 21