|  |  |  | 
|---|
|  |  |  | sb.append("                            <ReferenceInput\n"); | 
|---|
|  |  |  | sb.append("                                source=\"").append(column.getHumpName()).append("\"\n"); | 
|---|
|  |  |  | sb.append("                                reference=\"").append(GeneratorUtils.firstCharConvert(column.getForeignKey())).append("\"\n"); | 
|---|
|  |  |  | sb.append("                                perPage={REFERENCE_INPUT_PAGESIZE}\n"); | 
|---|
|  |  |  | if (count == 0) { | 
|---|
|  |  |  | sb.append("                                autoFocus\n"); | 
|---|
|  |  |  | } | 
|---|
|  |  |  | 
|---|
|  |  |  | case "Double": | 
|---|
|  |  |  | if (!Cools.isEmpty(column.getForeignKeyMajor())) { | 
|---|
|  |  |  | sb.append("    <ReferenceInput source=\"").append(column.getHumpName()).append("\" label=\"table.field.").append(simpleEntityName).append(".").append(column.getHumpName()).append("\" reference=\"").append(GeneratorUtils.firstCharConvert(column.getForeignKey())).append("\">\n"); | 
|---|
|  |  |  | sb.append("        <AutocompleteInput label=\"table.field.").append(simpleEntityName).append(".").append(column.getHumpName()).append("\" optionText=\"").append(GeneratorUtils.firstCharConvert(column.getForeignKeyMajor())).append("\" />\n"); | 
|---|
|  |  |  | sb.append("        <AutocompleteInput label=\"table.field.").append(simpleEntityName).append(".").append(column.getHumpName()).append("\" optionText=\"").append(GeneratorUtils.firstCharConvert(column.getForeignKeyMajor())).append("\" filterToQuery={(val) => ({ ").append(GeneratorUtils.firstCharConvert(column.getForeignKeyMajor())).append(": val })} />\n"); | 
|---|
|  |  |  | sb.append("    </ReferenceInput>,\n"); | 
|---|
|  |  |  | } else { | 
|---|
|  |  |  | if (Cools.isEmpty(column.getEnums())) { | 
|---|