---
updatedAt: 2025-01-29T14:36:52.000Z
agentTools:
  projectIndex: https://gxp-docs.readme.io/llms.txt
---

# EditableText

データベースにすでに存在するテキストを編集します。

<Table align={["left","left","left"]}>
  <thead>
    <tr>
      <th style={{ textAlign: "left" }}>
        プロパティ名
      </th>

      <th style={{ textAlign: "left" }}>
        説明
      </th>

      <th style={{ textAlign: "left" }}>
        Type
      </th>
    </tr>
  </thead>

  <tbody>
    <tr>
      <td style={{ textAlign: "left" }}>
        `value`
      </td>

      <td style={{ textAlign: "left" }}>
        コンポーネントの値です。
      </td>

      <td style={{ textAlign: "left" }}>
        `string`
      </td>
    </tr>

    <tr>
      <td style={{ textAlign: "left" }}>
        `onChange`
      </td>

      <td style={{ textAlign: "left" }}>
        値が変更されたときにクエリーを実行します。
      </td>

      <td style={{ textAlign: "left" }}>
        `function`
      </td>
    </tr>
  </tbody>
</Table>

`TextInput`とは異なります。`EditableText`は既存のテキストを編集するのに使用され、`value`が変更されると`onChange`によりクエリーが実行されます。