File tree Expand file tree Collapse file tree 2 files changed +1
-10
lines changed
src/BootstrapBlazor/Components/TreeView Expand file tree Collapse file tree 2 files changed +1
-10
lines changed Original file line number Diff line number Diff line change 1717 OnBeforeStateChanged =" @(MaxSelectedCount > 0 ? state => TriggerBeforeStateChangedCallback(state) : null)" >
1818 </Checkbox >
1919 }
20- <DynamicElement class =" @NodeClassString" TriggerClick =" !ItemDisabledState" OnClick =" ClickRow"
21- draggable =" @DraggableString" >
20+ <DynamicElement class =" @NodeClassString" TriggerClick =" !ItemDisabledState" OnClick =" ClickRow" >
2221 @if (ShowIcon )
2322 {
2423 <i class =" @IconClassString" ></i >
Original file line number Diff line number Diff line change @@ -139,12 +139,6 @@ public partial class TreeViewRow<TItem>
139139 [ Parameter ]
140140 public Func < TItem , string ? , Task < bool > > ? OnUpdateCallbackAsync { get ; set ; }
141141
142- /// <summary>
143- /// Gets or sets whether the node can be dragged. Default is false.
144- /// </summary>
145- [ Parameter ]
146- public bool AllowDrag { get ; set ; }
147-
148142 [ Inject ]
149143 [ NotNull ]
150144 private IOptionsMonitor < BootstrapBlazorOptions > ? Options { get ; set ; }
@@ -180,8 +174,6 @@ public partial class TreeViewRow<TItem>
180174 . AddClass ( Item . ExpandIcon , Item . IsExpand && ! string . IsNullOrEmpty ( Item . ExpandIcon ) )
181175 . Build ( ) ;
182176
183- private string ? DraggableString => AllowDrag ? "true" : null ;
184-
185177 private bool IsPreventDefault => ContextMenuZone != null ;
186178
187179 private bool _touchStart = false ;
You can’t perform that action at this time.
0 commit comments