Feature #14524
Arvados-DCO-1.1-Signed-off-by: Michal Klobukowski <michal.klobukowski@contractors.roche.com>
name={input.id}
commandInput={input}
component={InputComponent}
name={input.id}
commandInput={input}
component={InputComponent}
- parse={value => parseInt(value, 10)}
format={value => isNaN(value) ? '' : JSON.stringify(value)}
validate={[
isRequiredInput(input)
format={value => isNaN(value) ? '' : JSON.stringify(value)}
validate={[
isRequiredInput(input)
: () => undefined,
]} />;
: () => undefined,
]} />;
+const parse = (value: any) => parseInt(value, 10);
+
const InputComponent = (props: GenericInputProps) =>
<GenericInput
component={Input}
const InputComponent = (props: GenericInputProps) =>
<GenericInput
component={Input}