+
Конституента {data.alias}
Типизация:
diff --git a/rsconcept/frontend/src/components/RSInput/RSInput.tsx b/rsconcept/frontend/src/components/RSInput/RSInput.tsx
index e4e72a71..abe31189 100644
--- a/rsconcept/frontend/src/components/RSInput/RSInput.tsx
+++ b/rsconcept/frontend/src/components/RSInput/RSInput.tsx
@@ -59,7 +59,7 @@ function RSInput({
id, label, innerref, onChange,
disabled, noTooltip,
dimensions = 'w-full',
- ...props
+ ...restProps
}: RSInputProps) {
const { darkMode, colors } = useConceptTheme();
const { schema } = useRSForm();
@@ -167,7 +167,7 @@ function RSInput({
onChange={onChange}
editable={!disabled}
onKeyDown={handleInput}
- {...props}
+ {...restProps}
/>
);
diff --git a/rsconcept/frontend/src/components/RefsInput/RefsInput.tsx b/rsconcept/frontend/src/components/RefsInput/RefsInput.tsx
index f1c5ffc8..9c931939 100644
--- a/rsconcept/frontend/src/components/RefsInput/RefsInput.tsx
+++ b/rsconcept/frontend/src/components/RefsInput/RefsInput.tsx
@@ -67,7 +67,7 @@ function RefsInput({
id, label, innerref, disabled, items,
initialValue, value, resolved,
onFocus, onBlur, onChange,
- ...props
+ ...restProps
}: RefsInputInputProps) {
const { darkMode, colors } = useConceptTheme();
const { schema } = useRSForm();
@@ -221,7 +221,7 @@ function RefsInput({
onBlur={handleFocusOut}
spellCheck
// spellCheck= // TODO: figure out while automatic spellcheck doesnt work or implement with extension
- {...props}
+ {...restProps}
/>
>);
diff --git a/rsconcept/frontend/src/dialogs/DlgEditReference/WordformButton.tsx b/rsconcept/frontend/src/dialogs/DlgEditReference/WordformButton.tsx
index 617cca74..f22a6ca3 100644
--- a/rsconcept/frontend/src/dialogs/DlgEditReference/WordformButton.tsx
+++ b/rsconcept/frontend/src/dialogs/DlgEditReference/WordformButton.tsx
@@ -8,12 +8,12 @@ interface WordformButtonProps {
onSelectGrams: (grams: Grammeme[]) => void
}
-function WordformButton({ text, example, grams, onSelectGrams, isSelected, ...props }: WordformButtonProps) {
+function WordformButton({ text, example, grams, onSelectGrams, isSelected, ...restProps }: WordformButtonProps) {
return (