无功值的闪亮问题请咨询Matrix

时间:2018-10-31 15:17:18

标签: r matrix shiny reactive

我正在“ Shiny”中有数据库的应用程序。我从下拉列表中选择名称,然后在数据库中查找该名称,然后抛出与该名称关联的值。

我的数据库称为数据。字符列表称为“位置”。

这就是我所说的发现值的方法: <Grid> <Grid.RowDefinitions> <RowDefinition Height="*" /> <RowDefinition Height="*" /> </Grid.RowDefinitions> <Grid.ColumnDefinitions> <ColumnDefinition Width="8*" /> <ColumnDefinition Width="1*" /> </Grid.ColumnDefinitions> <CustomEntry:customEntry x:Name="entEmail" Grid.Row="0" Grid.ColumnSpan="2" Placeholder="Email / Phone number" ReturnType="Next" Style="{StaticResource entFontStyleWhite}" /> <CustomEntry:customEntry x:Name="entPassword" Grid.Row="1" Grid.ColumnSpan="2" Placeholder="Password" IsPassword="True" ReturnType="Done" Style="{StaticResource entFontStyleWhite}" /> <Image x:Name="imgPassword" Source="eye_icon" Grid.Row="1" Grid.Column="1" HeightRequest="20" WidthRequest="20" HorizontalOptions="Start"> <Image.GestureRecognizers> <TapGestureRecognizer Tapped="PasswordShow_Tapped" /> </Image.GestureRecognizers> </Image> </Grid> private void PasswordShow_Tapped(object sender, EventArgs e) { entPassword.IsPassword = !entPassword.IsPassword; if(entPassword.IsPassword) { //visibile eye imgPassword.Source = "eye_icon"; } else { //invisible eye imgPassword.Source = "home_eye_inactive_hide.png"; } }

如果城市是波哥大,这就是我的样子:input$places

我想抛出一个结果向量,但是我不能这样做:

Data$Bogotá

0 个答案:

没有答案