hunk.code_window:           APPSMITH_IS_SELF_HOSTED: false
             APPSMITH_CLOUD_SERVICES_BASE_URL: https://release-cs.appsmith.com
             APPSMITH_CLOUD_SERVICES_USERNAME: ""
             APPSMITH_CLOUD_SERVICES_PASSWORD: ""
           run: |
             ls -l
             ls -l scripts/
             ls -l dist/
             # Run the server in the background and redirect logs to a log file
  
hunk.labels: keep keep keep add keep keep keep keep keep
hunk.after_edit:           APPSMITH_GIT_ROOT: "./container-volumes/git-storage"
  
hunk.file_path: .github/workflows/integration-tests-command.yml
hunk.type: add
file: import React from "react";
  import { Field, BaseFieldProps } from "redux-form";
  import TextInput, { TextInputProps } from "components/ads/TextInput";
  
  type RenderComponentProps = TextInputProps & {
    input?: {
      onChange?: (value: number) => void;
      value?: number;
    };
  };
  
  function RenderComponent(props: RenderComponentProps) {
    const onChangeHandler = (value: number) => {
      props.input && props.input.onChange && props.input.onChange(value);
    };
  
    return (
      <TextInput
        dataType={props.dataType}
        defaultValue={props.input?.value?.toString()}
        onChange={(value: string) => onChangeHandler(Number(value))}
      />
    );
  }
  
  class NumberField extends React.Component<BaseFieldProps & TextInputProps> {
    render() {
      return (
        <Field
          component={RenderComponent}
          {...this.props}
          disabled={this.props.disabled}
          noValidate
        />
      );
    }
  }
  
  export default NumberField;
  