BoldSign®Effortlessly integrate e-signatures into your app with the BoldSign® API. Create a sandbox account!
Hi!
I've read the 2 questions/answers, but it doesn't work for me.
<SfAccordion @ref="AccordionObj">
. . .
@code{
AccordionObj.ExpandItem(false, 0)
<<< SfAccordion does not contain a definition for 'ExpandItem'...
}
Can anyone help me?
Thanks
Attila
<SfButton @onclick="ChangePanel" Content="Change Panel"></SfButton>
<SfAccordion> <AccordionItems> <AccordionItem @bind-Expanded="IsExpanded" Header="Margeret Peacock" Content="Margeret Peacock was born on Saturday , 01 December 1990. Now lives at Coventry House Miner Rd., London,UK. Margeret Peacock holds a position of Sales Coordinator in our WA department, (Seattle USA). Joined our company on Saturday , 01 May 2010"></AccordionItem> </SfAccordion> @code{ bool IsExpanded = true; private void ChangePanel() { IsExpanded = !IsExpanded; } } |
Hi!
This works well.
Thank you.
------------------------------------------------------------------------------------------
I have another problem (if I may).
<SfTextBox CssClass="e-outline" @onkeypress="KeyPress" @bind-Value="@selectedId" @oninput="@((e) => {selectedId=(string)e.Value;})"></SfTextBox>
This works very strange way.
When the oninput put the actual value to the selectedId variable, sometimes it is deletes back the last part (the end) of the text in the textbox. So it looks like it is blinking or jumping forward/backward. If I press a button long, it is more conspicuous way. Try it, you would lokk that.
Microsoft: <input @bind="inputValue" @bind:event="oninput">
This works fine. Because oninput does nothing, just renders the component (I think).
Can you help me?
Attila
@using Syncfusion.Blazor.Inputs
<p>Value: @selectedId</p>
<SfTextBox CssClass="e-outline" @onkeypress="KeyPressed" @bind-Value="@selectedId" @oninput="@((e) => {selectedId=(string)e.Value;})"></SfTextBox>
@code {
public string selectedId { get; set; }
public void KeyPressed(KeyboardEventArgs args)
{
}
} |
|
Hi!
I realized, I don't need to bind input value.
Therefore I use Input="@InputHandler".
Thank you for your help.
Attila
How would you go about expanding a set of accordions? for example,
@foreach( ... )
{
<SfAccordion>
@foreach ( ... ) //For the items
</SfAccordion>
}
Hi Jimmy De La Garza,
We have validated and branched this accordiaon query to a separate forum. You can track the progress and receive updates by following the ticket link provided below:
Forum: How
to expanding a set of accordions? - from 172828 | Blazor Forums | Syncfusion
Regards,
Yohapuja S