feat: pre-fill bot API key name input with default value

This commit is contained in:
haorwen
2026-06-22 10:50:26 +08:00
parent f95717b709
commit 2b4cbc3c55
@@ -84,7 +84,7 @@ const CreateAPIKeyModal = ({ closeModal, uid }: Props) => {
<label htmlFor={"name"} className="text-sm text-gray-500"> <label htmlFor={"name"} className="text-sm text-gray-500">
Name Name
</label> </label>
<Input name={"name"} required placeholder="Please input API Key name"></Input> <Input name={"name"} required defaultValue="My first key" placeholder="Please input API Key name"></Input>
</div> </div>
</form> </form>
)} )}