diff --git a/rsconcept/frontend/src/components/dropdown/dropdown-button.tsx b/rsconcept/frontend/src/components/dropdown/dropdown-button.tsx index 63c9c522..579bfbb1 100644 --- a/rsconcept/frontend/src/components/dropdown/dropdown-button.tsx +++ b/rsconcept/frontend/src/components/dropdown/dropdown-button.tsx @@ -37,7 +37,7 @@ export function DropdownButton({ 'px-3 py-1 inline-flex items-center gap-2', 'text-left text-sm text-ellipsis whitespace-nowrap', 'disabled:text-muted-foreground disabled:opacity-75', - 'focus-outline cc-animate-background', + 'focus-outline cc-animate-background select-none', !!onClick ? 'cc-hover-bg cursor-pointer disabled:cursor-auto' : 'bg-secondary text-secondary-foreground', className )} diff --git a/rsconcept/frontend/src/features/library/components/pick-location/select-location-context.tsx b/rsconcept/frontend/src/features/library/components/pick-location/select-location-context.tsx index 2ec4ffbb..ac9e3a25 100644 --- a/rsconcept/frontend/src/features/library/components/pick-location/select-location-context.tsx +++ b/rsconcept/frontend/src/features/library/components/pick-location/select-location-context.tsx @@ -38,7 +38,7 @@ export function SelectLocationContext({
!all_children.includes(block.nodeID))} value={field.value ? manager.oss.blockByID.get(field.value) ?? null : null} - placeholder='Блок содержания не выбран' + placeholder='Родительский блок' onChange={value => field.onChange(value ? value.id : null)} /> )} diff --git a/rsconcept/frontend/src/features/oss/dialogs/dlg-edit-block.tsx b/rsconcept/frontend/src/features/oss/dialogs/dlg-edit-block.tsx index 3a3cd5b4..20898abb 100644 --- a/rsconcept/frontend/src/features/oss/dialogs/dlg-edit-block.tsx +++ b/rsconcept/frontend/src/features/oss/dialogs/dlg-edit-block.tsx @@ -70,7 +70,7 @@ export function DlgEditBlock() { block.id !== target.id)} value={field.value ? manager.oss.blockByID.get(field.value) ?? null : null} - placeholder='Блок содержания не выбран' + placeholder='Родительский блок' onChange={value => field.onChange(value ? value.id : null)} /> )}