I have a flag for Enabling/Disabling a ComboBox. It works without the floating label. With the floating label, I cannot get the ComboBox to recognize the flag changing.
The first box will not re-enable with the button click, but the second enables/disables as many times as you click the button. Here is the code:
<h3>TestPage</h3>
<TelerikButton OnClick="@(() => {_isEnabled = !_isEnabled;})">Is Enabled: @_isEnabled.ToString() </TelerikButton>
<TelerikFloatingLabel Class="otis-fl-100"
Text="Select a Form">
<TelerikComboBox Data="@_data"
Width="100%"
TValue="string"
TItem="string"
Filterable="true"
Enabled="@_isEnabled">
</TelerikComboBox>
</TelerikFloatingLabel>
<br />
<br />
<TelerikComboBox Data="@_data"
Width="100%"
TValue="string"
TItem="string"
Filterable="true"
Placeholder="Select a Form"
Enabled="@_isEnabled">
</TelerikComboBox>
@code {
private List<string> _data = new List<string> { "one", "two", "three" };
private bool _isEnabled = true;
}