en locales

This commit is contained in:
Felix Kaspar
2024-07-14 01:27:41 +02:00
parent 40ed0f68db
commit d449ccf624
13 changed files with 87 additions and 16 deletions

View File

@@ -111,7 +111,7 @@ export function GenericField({ fieldName, joiDefinition }: GenericFieldProps) {
return (<div>comma_array, joi items are empty or bigger than one, this is not implemented</div>);
}
break;
case "alternatives":
case "alternatives": // TODO: Better support this. It is currently used by ScaleContent (working) and SplitByPreset (incompatible, but with that operator it isn't even considered a field so we need a different schema for that)
return (
<Fragment>
<label htmlFor={fieldName}>{flags.label}:</label>
@@ -138,5 +138,6 @@ export function GenericField({ fieldName, joiDefinition }: GenericFieldProps) {
default:
console.log(joiDefinition);
return (<div>GenericField.tsx: <br/> "{fieldName}": requested type "{joiDefinition.type}" not found. Check console for further info.</div>)
}
}